VictoriaMetrics/lib/promscrape
Nikolay a56ee034af
lib/promscrape: removes omitempty for ScrapeConfig (#2457)
This change fixes incorrect marshalling for ScrapeConfig
it affects http endpoint and ScrapeConfig checksum.

With omitempty, custom Marshaller is not called if field is not a pointer.

Previously this issue happened at vmalert
2022-04-16 14:26:36 +03:00
..
discovery Consul SD - update services on the watcher's start (#2202) 2022-02-21 15:33:33 +02:00
discoveryutils lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
testdata lib/promscrape: fix errors in test config 2022-02-08 20:10:28 +02:00
client.go lib/promscrape: allow up to 5 redirects when scraping a target by default 2021-12-16 00:14:45 +02:00
config.go lib/promscrape: removes omitempty for ScrapeConfig (#2457) 2022-04-16 14:26:36 +03:00
config_test.go lib/promscrape: support prometheus-like duration in scrape configs (#2169) 2022-02-11 16:17:51 +02:00
scraper.go lib/promscrape: follow-up after 7e79adfb55 2022-04-12 12:37:03 +03:00
scrapework.go lib/promscrape: follow-up after 7e79adfb55 2022-04-12 12:37:03 +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
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
targetstatus.go lib/promscrape: show the total number of scrapes and the total number of scrape errors per target at /targets page 2022-02-03 20:23:27 +02:00
targetstatus.qtpl vmagent: fix js error on CollapseAll/ExpandAll buttons click (#2192) 2022-02-15 12:54:39 +02:00
targetstatus.qtpl.go vmagent: fix js error on CollapseAll/ExpandAll buttons click (#2192) 2022-02-15 12:54:39 +02:00