On Tuesday, 23 June 2020 20:58:19 UTC+1, Freddy Mack wrote:
>
> The SystemD is showing for all the servers instead of current with this 
> syntax:
> node_systemd_unit_state{instance=~"$instance"}
>
>
It should show all systemd units on a single server, with multiple entries 
for each unit with the different states.

You can trim it to a single state per server like this:

node_systemd_unit_state{instance=~"$instance"} == 1

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7c98ae40-12d7-4b18-bbb8-098862ff58bfo%40googlegroups.com.

Reply via email to