Skip to content

Collector with same name must have same type and same label names #149

Closed Answered by phnx47
tomkerkhove asked this question in Q&A
Discussion options

You must be logged in to vote

Client libraries MUST NOT allow users to have different label names for the same metric for Gauge/Counter/Summary/Histogram or any other Collector offered by the library.

Docs: https://prometheus.io/docs/instrumenting/writing_clientlibs/#labels

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tomkerkhove
Comment options

Answer selected by tomkerkhove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants