Add new "globalUrl" field to /api/v1/targets docs
See
@@ -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,
