Finding metrics using description

18 views
Skip to first unread message

Filip Grządkowski

unread,
Mar 30, 2020, 12:33:49 PM3/30/20
to Prometheus Users
Hey,

We're using a standard Prometheus + Alertmanager setup. We have a number of metrics across multiple processes, containers and instances. I'd like to be able to search all exported metrics not only by name (which is possible in prometheus graph UI), but also show their description for users to make sure they know what they are using or to make it easier to search for an interesting metric. Is there some tool that would do that for me?

--
Filip Grządkowski

Weston Greene

unread,
Mar 30, 2020, 3:50:10 PM3/30/20
to Prometheus Users
What do you mean "description"? Is "description" a label you have on the metric? If so:

`{the_metrics_description=~".*search term.*"}`

Filip Grządkowski

unread,
Apr 8, 2020, 8:56:06 AM4/8/20
to Prometheus Users
Anyone?

--
Filip Grządkowski

Reply all
Reply to author
Forward
0 new messages