How do you measure output of a software developer? Any measurement I've seen ([1] except the devops ones) just get gamed and become useless.
[1] https://www.atlassian.com/devops/frameworks/devops-metrics
[1] https://www.atlassian.com/devops/frameworks/devops-metrics
I think, given the right culture, other measures might work well. Not perhaps for a bonus structure, but for helping employees honestly evaluate how they're doing.
... and devolve into (actually measurable) number of hours in the chair.