VictoriaMetrics/lib/promscrape
Nikolay 4c808d58bf
Adds ready probe (#874)
* adds leading forward slash check for scrapeURL path
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/835

* adds ready probe for scrape config initialization,
it should prevent metrics loss during vmagent rolling update,
/ready api will return 425 http code, if some scrape config still waits for initialization.

* updates docs

* Update app/vmagent/README.md

* renames var

* Update app/vmagent/README.md

Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2020-11-04 20:29:18 +02:00
..
discovery fixes openstack api endpoint with suffix trim adds openstack (#840) 2020-10-16 21:20:57 +03:00
discoveryutils Adds dockerswarm sd (#818) 2020-10-12 13:38:21 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:10 +03:00
client.go lib/promscrape: properly handle response body after 301 redirect 2020-11-02 01:09:52 +02:00
config.go lib/promscrape: docs update after e4182dd896 2020-11-04 17:12:30 +02:00
config_test.go lib/promscrape: add stream parse mode for efficient scraping of targets that expose millions of metrics 2020-11-01 23:35:06 +02:00
scraper.go Adds ready probe (#874) 2020-11-04 20:29:18 +02:00
scrapework.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:44 +02:00
scrapework_test.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:44 +02:00
scrapework_timing_test.go lib/promscrape: show real timestamp and real duration for the scape on /targets page 2020-08-10 12:40:25 +03:00
statconn.go lib/promscrape: add stream parse mode for efficient scraping of targets that expose millions of metrics 2020-11-01 23:35:06 +02:00
targetstatus.go lib/promscrape: docs update after e4182dd896 2020-11-04 17:12:30 +02:00