VictoriaMetrics/lib/promscrape
Roman Khavronenko 829ec4f9cf
Extend metric vm_promscrape_targets with status label (#615)
The change to `vm_promscrape_targets` metric suppose to improve observability
for `vmagent` so it will be possible to track how many targets are up or down
for every specific scrape group:
```
vm_promscrape_targets{type="static_configs", status="down"} 1
vm_promscrape_targets{type="static_configs", status="up"} 2
```
2020-07-13 21:52:03 +03:00
..
discovery all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
discoveryutils all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:10 +03:00
client.go lib/promscrape: send Accept header similar to Prometheus when scraping targets 2020-07-08 19:48:22 +03:00
config_test.go lib/promscrape: add ability to set disable_compression and disable_keepalive options in scrape_config section of the config passed to -promscrape.config 2020-07-02 14:19:14 +03:00
config.go lib/promscrape: add ability to set disable_compression and disable_keepalive options in scrape_config section of the config passed to -promscrape.config 2020-07-02 14:19:14 +03:00
scraper.go Extend metric vm_promscrape_targets with status label (#615) 2020-07-13 21:52:03 +03:00
scrapework_test.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
scrapework_timing_test.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
scrapework.go Extend metric vm_promscrape_targets with status label (#615) 2020-07-13 21:52:03 +03:00
statconn.go lib/promscrape: properly connect to TCP6 addresses if -enableTCP6 is set 2020-05-06 00:01:57 +03:00
targetstatus.go Extend metric vm_promscrape_targets with status label (#615) 2020-07-13 21:52:03 +03:00