VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 133b288681 lib/promscrape/discovery/kubernetes: use a single watcher per apiURL
Previously multiple scrape jobs could create multiple watchers for the same apiURL. Now only a single watcher is used.
This should reduce load on Kubernetes API server when many scrape job configs use Kubernetes service discovery.
2021-03-11 16:43:04 +02:00
..
discovery lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
discoveryutils lib/proxy: set missing ServerName in TLS config for proxy_url. 2021-03-09 18:58:18 +02:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:10 +03:00
client.go lib/proxy: set missing ServerName in TLS config for proxy_url. 2021-03-09 18:58:18 +02:00
config.go lib/promscrape: add scrape_offset option to scrape_config 2021-03-08 12:03:33 +02:00
config_test.go lib/promscrape: add scrape_offset option to scrape_config 2021-03-08 12:03:33 +02:00
scraper.go lib/promscrape: explicitly stop and cleanup service discovery routines when new config is read from -promscrape.config 2021-03-01 14:14:00 +02:00
scrapework.go lib/promscrape: apply sample_limit after metric relabeling is applied as Prometheus does 2021-03-09 15:47:18 +02:00
scrapework_test.go lib/promscrape: apply sample_limit after metric relabeling is applied as Prometheus does 2021-03-09 15:47:18 +02:00
scrapework_timing_test.go lib/promscrape: remove ID field from ScrapeWork struct. Use a pointer to ScrapeWork as a key in targetStatusMap 2020-12-17 14:32:56 +02:00
statconn.go lib/proxy: set missing ServerName in TLS config for proxy_url. 2021-03-09 18:58:18 +02:00
targets_response.qtpl lib/promscrape: add bootstrap styles to /targets html page 2020-12-15 12:37:56 +02:00
targets_response.qtpl.go lib/promscrape: add bootstrap styles to /targets html page 2020-12-15 12:37:56 +02:00
targetstatus.go lib/promscrape: properly show scrape duration on /targets page 2021-01-11 21:14:46 +02:00