mozilla / opmon

Operational Monitoring (OpMon) đŸ“ˆ
Mozilla Public License 2.0
7 stars 5 forks source link

Could OpMon support labeled_* metrics with unknown labels? Maybe as a metric group? #155

Open chutten opened 1 year ago

chutten commented 1 year ago

A pattern the Glean Error Reporting Mechanism uses is to use labeled_counters like glean.error.invalid_value to record how often certain types of instrumentation errors happen. The labels are the names of the metric that had the error.

It'd be nice to be able to display a plot where there'd be a line per label. Like a metric group, but for parameterized metrics.

(I mean we could know the metric names ahead of time by getting them from probe-scraper, but then the toml would need to be codegen'd and the metric group would have every metric name in there with a line even though the vast majority will never have any data to display)

┆Issue is synchronized with this Jira Task