VictoriaMetrics/lib/promscrape
Vasily 6fcbd17bdd Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig (#796)
* Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig

* Add omitempty annotation to all the default/optional values

* Fix annotations after review
2020-11-13 16:19:05 +02:00
..
discovery Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig (#796) 2020-11-13 16:19:05 +02:00
discoveryutils Adds dockerswarm sd (#818) 2020-10-12 13:38:21 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:10 +03:00
client.go lib/promscrape: properly handle response body after 301 redirect 2020-11-02 01:09:52 +02:00
config_test.go lib/promscrape: pre-allocate slice for discovered targets based on previously discovered targets 2020-11-10 15:56:51 +02:00
config.go Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig (#796) 2020-11-13 16:19:05 +02:00
scraper.go lib/promscrape: add -promscrape.dropOriginalLabels command-line flag for reducing memory usage when discovering big number of scrape targets 2020-11-10 00:19:57 +02:00
scrapework_test.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:44 +02:00
scrapework_timing_test.go lib/promscrape: show real timestamp and real duration for the scape on /targets page 2020-08-10 12:40:25 +03:00
scrapework.go lib/promscrape: eliminate data race in stream parse mode 2020-11-07 12:45:17 +02:00
statconn.go lib/promscrape: add stream parse mode for efficient scraping of targets that expose millions of metrics 2020-11-01 23:35:06 +02:00
targetstatus.go lib/promscrape: make a copy of ScrapeWork from discovered []ScrapeWork slice instead of referring to an item in this slice 2020-11-10 16:13:05 +02:00