VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 3e1d7d8489 lib/promscrape: send Accept header similar to Prometheus when scraping targets
This should fix scraping Spring Boot servers, which return incorrect response
unless `Accept: text/plain` request header is set.

See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/608
2020-07-08 19:48:22 +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.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_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
scraper.go lib/promscrape: preserve the previously discovered targets on discovery errors per each job_name 2020-06-23 15:40:40 +03:00
scrapework.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
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
statconn.go lib/promscrape: properly connect to TCP6 addresses if -enableTCP6 is set 2020-05-06 00:01:57 +03:00
targetstatus.go lib/promscrape: reload only modified scrapers on config changes 2020-05-03 12:45:40 +03:00