hi,
i have a job 'node-tools'ansible',
with two endpoints.. one for each node- and shell exporter.
in prometheus/targets i see the same set of labels for each endpoint.
for testing i stoppped the node exporter, but the alert is based on the
following expr:
up{} == 0
on the graph i can see that the up{}==0 expr has value 0 for a few seconds,
then gaps;
when i remove the ==0 i can see it goes from 0 to 1.
so it seems to me that the other (shell) exporter mixes into the up metric;
and that is because the endpoint have the same labels, right ?
so in my scrape defintion i need to specify one differing label for the
shell exporter..
i could make an exporter label, setting it to 'node'/'shell' i guess..
or how do you guys handle that?
TIA; cheers,
fil
--
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/837281e4-1ab7-4931-8795-b5b4a52aa378n%40googlegroups.com.