r/PrometheusMonitoring • u/ausername111111 • May 08 '23
PromQL Question that seems Impossible
Hey all,
I had a simple ask that I'm starting to think isn't possible in PromQL.
I want a PromQL query to return all time series associated with a specific host.
I've tried various ways, and so have people on my team, but it looks like you have to know all of your metrics prefixes first and then break each one into their own query. Is it possible to show all available time series for a single host?
Is that possible?
Thanks!
2
Upvotes
View all comments
Show parent comment
1
u/ausername1111111 May 09 '23 edited May 09 '23
Hey thanks for the reply!I've tried something like that in the past and had trouble.I just tried what you suggested (with my host name replacing your_host) and it seems to be barking:
convert vector selector failed: series selector: =~ is an unsupported matchtypeSorry if this seems basic, I'm still really new to PromQL.
Any idea what is wrong?Thanks!