Hello, I'm using process-exporter (https://github.com/ncabatoff/process-exporter) for monitoring running processes on hundreds of servers. There is a known problem that if the process exporter hasn't seen a certain process since the exporter started, it won't report it as "missing" - actually there will be no metric at all for this process. So the alert: *namedprocess_namegroup_num_procs**(groupname="AAA") == 0* won't fire for such servers. Found a solution suggesting using *absent* function for checking this situation but I'm not sure how to make it work because I don't understand how to express the relevant labels set. Each such metric also has " *server_id*" label which identifies a specific server.
What I need is to express this: *namedprocess_namegroup_num_procs**(groupname="AAA") == 0 or absent(* *namedprocess_namegroup_num_procs* *(groupname="AAA", server_id="???????") * The monitored servers are a dynamic group (EC2 auto-scaling instances), so I don't know all possible servers in advance, and anyway there are hundreds of them. Regards, Dmitry -- 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/CADxb1xW4tVzCq5SMtXCUAF7%2BCdCuGffLZmsRSNVqM1KOBaO5Kw%40mail.gmail.com.

