VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin ecc11dc32d
lib/promauth: refactor NewConfig in order to improve maintainability
1. Split NewConfig into smaller functions
2. Introduce Options struct for simplifying construction of the Config with various options

This commit is based on https://github.com/VictoriaMetrics/VictoriaMetrics/pull/2684
2022-07-04 14:31:43 +03:00
..
discovery lib/promauth: refactor NewConfig in order to improve maintainability 2022-07-04 14:31:43 +03:00
discoveryutils lib/promauth: add ability to send additional http headers in requests to scrape targets 2022-06-22 20:40:50 +03:00
testdata lib/promscrape: fix errors in test config 2022-02-08 20:10:28 +02:00
client.go lib/promauth: add ability to send additional http headers in requests to scrape targets 2022-06-22 20:40:50 +03:00
config_test.go lib/promauth: refactor NewConfig in order to improve maintainability 2022-07-04 14:31:43 +03:00
config_timing_test.go lib/promscrape: follow-up after 91e290a8ff 2022-04-20 16:12:26 +03:00
config.go all: remove explicit "xxhash" name when importing github.com/cespare/xxhash/v2 package 2022-06-21 20:24:28 +03:00
scraper.go lib/promscrape: fix vmagent tickerCh reload behaviour (#2786) 2022-06-30 13:52:44 +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:21:26 +03:00
scrapework_timing_test.go app/vmagent: follow-up after fe445f753b 2021-08-05 09:51:00 +03:00
scrapework.go lib/promscrape: always send stale markers with the real scrape timestamp 2022-06-23 11:49:13 +03:00
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
targetstatus.go all: follow-up after 8edb390e21 2022-06-07 01:05:53 +03:00
targetstatus.qtpl all: follow-up after 8edb390e21 2022-06-07 01:05:53 +03:00
targetstatus.qtpl.go all: follow-up after 8edb390e21 2022-06-07 01:05:53 +03:00