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)
A pattern the Glean Error Reporting Mechanism uses is to use
labeled_counters
likeglean.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