Don't know about push gateway and remote write metrics , if you had an actual target configured through prometheus configuration file reachable on the network , then prometheus keeps an *up *metric for those per job & instance label pairs, see here https://prometheus.io/docs/concepts/jobs_instances/
On Mon, Sep 28, 2020 at 10:25 AM Sushil pratap singh <[email protected]> wrote: > Hi Alex , > > isn't there anything by default in prometheus itself to know whether the > remote write link has gone down. > if we keep it as a gauge metric we have to push the metric again and again > by pinging from the node prometheus server is running and it will be an > overhead > > Thanks > Sushil > -- Alexandru Duzsardi, *DevOps Engineer* *Skype:* alexinno83 *GPG/PGP Key*: https://keybase.io/aduzsardi/pgp_keys.asc *GitLab:* https://gitlab.com/aduzsardi *GitHub:* https://github.com/aduzsardi *LinkedIn:* https://www.linkedin.com/in/aduzsardi *E-mail:* [email protected] InFinIT Partners, *Address:* Str. Macinului Nr. 17, Cluj-Napoca, Romania *Web:* www.infinitpartners.com -- 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/CAAa91wor9QGEPJytJrPZk1gaBtiYZ%3D%3D-%2BrZngPAarTjfcpHgjQ%40mail.gmail.com.

