VictoriaMetrics/lib/promscrape
Nikolay 5b235b902b 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:33:48 +02:00
..
discovery fixes openstack api endpoint with suffix trim adds openstack (#840) 2020-10-16 23:01:45 +03:00
discoveryutils Adds dockerswarm sd (#818) 2020-10-12 16:13:58 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:22 +03:00
client.go lib/promscrape: properly handle response body after 301 redirect 2020-11-02 01:09:59 +02:00
config.go lib/promscrape: docs update after e4182dd896 2020-11-04 17:13:34 +02:00
config_test.go adds leading forward slash check for scrapeURL path (#855) 2020-11-01 23:22:16 +02:00
scraper.go Adds ready probe (#874) 2020-11-04 20:33:48 +02:00
scrapework.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:59 +02:00
scrapework_test.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:59 +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:49 +03:00
statconn.go lib/promscrape: add stream parse mode for efficient scraping of targets that expose millions of metrics 2020-11-01 23:12:26 +02:00
targetstatus.go lib/promscrape: docs update after e4182dd896 2020-11-04 17:13:34 +02:00