Hi, shouldn't this just be the data from the simple query for the "up" metric?
It would include the job name (e.g. job="node") as well as the availability status (0 vs. 1). You can handle the translation of the value 0/1 to Offline/Online within Grafana, I think. Kind regards, Christian On 6/9/20 5:59 PM, Erik Lilja wrote: > I'm wondering if it's possible to graph the targets in Prometheus. I've > tried searching for this but have come up empty handed. > > I'm trying to achieve the following: > > | > Target|status > node-exporter |Online > node-exporter 2|Offline > | > s > |||||Does anyone know if this is possible to extract from Prometheus? > ||||| > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/08f58d0c-2ac3-482d-9903-616d50008277o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/08f58d0c-2ac3-482d-9903-616d50008277o%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/9776b8bc-3c26-2fe3-b499-03b72e8d016a%40hoffmann-christian.info.

