We named the metrics for this server before we had knowledge about what Prometheus names should look like. Unsurprisingly, we got it wrong a bunch.
Metrics are recommended to all be lowercase, and prometheusx.promlint in http://github.com/m-lab/go/ will actually provide compile-time checks of name quality.
The metric that caused this issue to be created was: annotator_Request_Response_Time_Summary, about which the linter says:
Bad metric annotator_Request_Response_Time_Summary: metric name should not include type 'summary'
We named the metrics for this server before we had knowledge about what Prometheus names should look like. Unsurprisingly, we got it wrong a bunch.
Metrics are recommended to all be lowercase, and
prometheusx.promlint
in http://github.com/m-lab/go/ will actually provide compile-time checks of name quality.The metric that caused this issue to be created was:
annotator_Request_Response_Time_Summary
, about which the linter says: