VictoriaMetrics/lib/promscrape
Roman Khavronenko a02097e657 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:54:53 +03:00
..
discovery all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
discoveryutils all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:22 +03:00
client.go lib/promscrape: send Accept header similar to Prometheus when scraping targets 2020-07-08 19:50:06 +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:34 +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:34 +03:00
scraper.go Extend metric vm_promscrape_targets with status label (#615) 2020-07-13 21:54:53 +03:00
scrapework.go Extend metric vm_promscrape_targets with status label (#615) 2020-07-13 21:54:53 +03:00
scrapework_test.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
scrapework_timing_test.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
statconn.go lib/promscrape: properly connect to TCP6 addresses if -enableTCP6 is set 2020-05-06 00:02:40 +03:00
targetstatus.go Extend metric vm_promscrape_targets with status label (#615) 2020-07-13 21:54:53 +03:00