VictoriaMetrics/lib/promscrape
Vasily 8ba168f3be
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:17:03 +02:00
..
discovery Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig (#796) 2020-11-13 16:17:03 +02:00
discoveryutils Adds dockerswarm sd (#818) 2020-10-12 16:13:58 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:22 +03:00
client.go lib/promscrape: properly handle response body after 301 redirect 2020-11-02 01:09:59 +02:00
config_test.go lib/promscrape: pre-allocate slice for discovered targets based on previously discovered targets 2020-11-10 15:57:43 +02:00
config.go Add omitempty for DisableCompression and DisableKeepAlive fields in ScrapeConfig (#796) 2020-11-13 16:17:03 +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:20:49 +02:00
scrapework_test.go lib/promscrape: reduce memory allocations in promLabelsString() function 2020-11-04 10:38:59 +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:49 +03:00
scrapework.go lib/promscrape: eliminate data race in stream parse mode 2020-11-07 12:45:52 +02:00
statconn.go lib/promscrape: add stream parse mode for efficient scraping of targets that expose millions of metrics 2020-11-01 23:12:26 +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:31 +02:00