Hi, I'd like to filter the node_systemd_unit_state metric to display only a 
few services on Grafana.

So I thought of creating a new metric in a *.prom file using the 
--collector.textfile.directory option. The problem is that I don't know if 
it's possible to create a metric using an existing metric.

For example, I'd like the metric I create to display the result of these 
metrics :

node_systemd_unit_state{name=~"Net.service"} == 1
node_systemd_unit_state{name=~"fedo.*"} == 1 
node_systemd_unit_state{name=~"grara.*"} == 1

Thank you in advance for your reply 


-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/326934c4-5412-49e9-b859-954d4ef78252n%40googlegroups.com.

Reply via email to