Skip to content

Announcement about implicit addition of "_total" to counter metric names? #317

@erikjohnston

Description

@erikjohnston

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions