Re: [prometheus-users] Count/display label dimensions with a certain value?

2021-03-18 Thread Stuart Clark
On 18/03/2021 12:27, John Dexter wrote: I have metrics provided by several processes: subsystem_connected{subsystem="ABC"} This has a value of 0 or 1, and each process has a different subsystem label. Within Grafana, I want to do a couple of things: - Display a count how many are connected

[prometheus-users] Count/display label dimensions with a certain value?

2021-03-18 Thread John Dexter
I have metrics provided by several processes: subsystem_connected{subsystem="ABC"} This has a value of 0 or 1, and each process has a different subsystem label. Within Grafana, I want to do a couple of things: - Display a count how many are connected (value=1) - Display the list of subsystem