-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Announcement about implicit addition of "_total" to counter metric names? #317
Comments
It's the first item noted in the release notes, and it is mentioned in the docs. |
I understand that the ship has sailed on this, but please please please think twice before introducing changes like this in the future: it comes as a huge surprise to everybody when their dashboards and alerting suddenly stop working because a bunch of metrics have suddenly changed name. Perhaps you could consider a deprecation period where a warning is omitted when an application uses the old name, so that application developers have time to prepare for a forthcoming change. |
We've just been bitten (matrix-org/synapse#4001) by the fact that
Counter
now implicitly adds_total
to the end of the metrics name. This is unfortunate as people who run our services are now discovering a bunch of their metrics have disappeared from their monitoring dashboards, causing confusion. (Yes we should probably have pinned our dep explicitly to 0.3.x).My question is really just whether this was publicised anywhere before the release? The Prometheus docs seem to only recommend that counters end in
_total
, as opposed to saying that it's effectively mandated by the official client libraries. Given the seeming propensity inside the python community to not pin dependencies to major versions I think a bit of warning would have been appreciated :)Sneaky tangential question: is the plan to update the other clients to match this new behaviour?
The text was updated successfully, but these errors were encountered: