Hi. So, I am using IP:PORT as targets(I know its not ideal, I should have only IPs, will switch to it soon) for all my node exporter jobs. I am getting the hostnames of my servers in the alerts using the group_left and joining them to my original alert query. Now, the problem is when alert of Node Exporter Down or the server itself Down(Using Blackbox ICMP Ping to determine this) fires, I cannot have the hostname as Node Exporter won't be scraping any metrics at that point.
Can a recording rule do the job here? I am not able to proceed on how this recording rule will be created/work. Also, if there is any better idea or method to approach it, please point me in that direction. Thanks in advance! -- 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/52772ec6-f158-48a3-a815-289d7153f2c9%40googlegroups.com.

