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