Skip to content

Commit 1184ea7

Browse files
committed
fix: slightly stricter mutual exclusivity constraints for metric name sharing
Revert to stricter mutual exclusivity constraints for metric name sharing with respect to labeled and unlabeled cases while still allowing different label sets per metric name. While Prometheus wouldn't break with sharing a metric name for labeled and unlabeled variants, the client enforces that each unique metric name must either be labeled (allowing multiple label sets) or unlabeled in order to support correct Prometheus aggregations. Use MetricFamily instead of MetricGroup. Signed-off-by: Melissa Kilby <[email protected]>
1 parent 9a83036 commit 1184ea7

File tree

5 files changed

+307
-269
lines changed

5 files changed

+307
-269
lines changed

0 commit comments

Comments
 (0)