Skip to content

Allow Prometheus meters with the same name but a different set of tag keys#7168

Draft
shakuzen wants to merge 1 commit intomicrometer-metrics:mainfrom
shakuzen:prom-mismatch-labels
Draft

Allow Prometheus meters with the same name but a different set of tag keys#7168
shakuzen wants to merge 1 commit intomicrometer-metrics:mainfrom
shakuzen:prom-mismatch-labels

Conversation

@shakuzen
Copy link
Member

@shakuzen shakuzen commented Feb 6, 2026

Prometheus 1.5.0 will lift the restriction that prevented this. See prometheus/client_java#696.

TODO: Upgrade to Prometheus Java 1.5.0 release version when available
TODO: Update documentation

@shakuzen shakuzen force-pushed the prom-mismatch-labels branch from e570caa to 9d3a71e Compare February 8, 2026 06:13
@shakuzen shakuzen changed the title WIP Prometheus client 1.5.0 same name, different label set Allow Prometheus meters with the same name but a different set of tag keys Feb 8, 2026
Allow registering meters with the same name but a different set of tag keys.
This used to be disallowed by the Prometheus Java client but is supported since 1.5.0.
@shakuzen shakuzen force-pushed the prom-mismatch-labels branch from 9d3a71e to bc38446 Compare February 8, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant