I'm usign prometheus with grafana.
I send dynamic counters. The counters are ended with a pattern, for example "_graph".
How can I show in a graph all the metrics which ends with "_graph"?
I'm usign prometheus with grafana.
I send dynamic counters. The counters are ended with a pattern, for example "_graph".
How can I show in a graph all the metrics which ends with "_graph"?
In grafana query user this:
{__name__=~".+_graph"}
This will show all the metrics with _graph
suffix.
Probably you want to use sth like
rate({__name__=~".+_graph"}[5m])
if these are counters.
lable_replace
. –
Jarrodjarrow After selecting the Explore (compass); Metric Browser
has drop down where we can see all the metric names.
© 2022 - 2024 — McMap. All rights reserved.