VictoriaMetrics/lib/promscrape
Nikolay 26b78ad707
lib/promscrape: adds job restart method (#2455)
* lib/promscrape: adds job restart method
it must restart only ScrapeConfig with changed content
this change greatly reduce time, that needed for job restart
and it should decrease possible data loss when config frequently changed at kubernetes based deployments

Apply suggestions from code review

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>

* wip

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-04-16 20:28:46 +03:00
..
discovery Consul SD - update services on the watcher's start (#2202) 2022-02-21 15:32:45 +02:00
discoveryutils lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
testdata lib/promscrape: fix errors in test config 2022-02-08 19:56:37 +02:00
client.go lib/promscrape: allow up to 5 redirects when scraping a target by default 2021-12-16 00:14:14 +02:00
config_test.go lib/promscrape: follow-up after baa1c24b36 2022-04-16 14:25:54 +03:00
config.go lib/promscrape: adds job restart method (#2455) 2022-04-16 20:28:46 +03:00
scraper.go lib/promscrape: adds job restart method (#2455) 2022-04-16 20:28:46 +03:00
scrapework_test.go lib/promscrape: generate scrape_timeout_seconds metric per each scrape target in the same way as Prometheus 2.30 does 2021-09-12 15:20:44 +03:00
scrapework_timing_test.go app/vmagent: follow-up after fe445f753b 2021-08-05 09:52:32 +03:00
scrapework.go lib/promscrape: follow-up after 7e79adfb55 2022-04-12 12:36:17 +03:00
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
targetstatus.go lib/promscrape: show the total number of scrapes and the total number of scrape errors per target at /targets page 2022-02-03 20:22:41 +02:00
targetstatus.qtpl vmagent: fix js error on CollapseAll/ExpandAll buttons click (#2192) 2022-02-15 12:52:48 +02:00
targetstatus.qtpl.go vmagent: fix js error on CollapseAll/ExpandAll buttons click (#2192) 2022-02-15 12:52:48 +02:00