[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.
[1] https://www.atlassian.com/devops/frameworks/devops-metrics