From a3270a3a0f0db1f9d87e73c00420f73ebe2099e3 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Mon, 9 Mar 2020 14:07:30 +0100 Subject: [PATCH] Add new "globalUrl" field to /api/v1/targets docs See https://github.com/prometheus/prometheus/pull/6794 Signed-off-by: Julius Volz --- docs/querying/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/querying/api.md b/docs/querying/api.md index 60827aa7a..8106a4344 100644 --- a/docs/querying/api.md +++ b/docs/querying/api.md @@ -413,6 +413,7 @@ $ curl http://localhost:9090/api/v1/targets }, "scrapePool": "prometheus", "scrapeUrl": "http://127.0.0.1:9090/metrics", + "globalUrl": "http://example-prometheus:9090/metrics", "lastError": "", "lastScrape": "2017-01-17T15:07:44.723715405+01:00", "lastScrapeDuration": 0.050688943, @@ -457,6 +458,7 @@ $ curl 'http://localhost:9090/api/v1/targets?state=active' }, "scrapePool": "prometheus", "scrapeUrl": "http://127.0.0.1:9090/metrics", + "globalUrl": "http://example-prometheus:9090/metrics", "lastError": "", "lastScrape": "2017-01-17T15:07:44.723715405+01:00", "lastScrapeDuration": 50688943,