VictoriaMetrics/lib/promscrape
Lu Jiajing 4ee6def68b fix access to nil *url.URL (#1180)
* fix access to nil *url.URL

Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>

* Update lib/promscrape/discovery/kubernetes/api_watcher.go

Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2021-04-05 22:26:43 +03:00
..
discovery fix access to nil *url.URL (#1180) 2021-04-05 22:26:43 +03:00
discoveryutils lib/promscrape: properly send full url in GET request via simple HTTP proxy 2021-04-04 01:20:43 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:22 +03:00
client.go lib/promscrape: pass X-Prometheus-Scrape-Timeout-Seconds header to scrape targets as Prometheus does 2021-04-05 12:15:14 +03:00
config.go lib/promscrape/discovery/kubernetes: reduce CPU time spent on registering big number of Kubernetes objects shared among big number of scrape jobs 2021-04-05 22:05:02 +03:00
config_test.go lib/promscrape: add tests for authorization config, which has been added in df148f48b7 2021-04-03 22:14:03 +03:00
scraper.go lib/promscrape/discovery/kubernetes: reduce CPU time spent on registering big number of Kubernetes objects shared among big number of scrape jobs 2021-04-05 22:05:02 +03:00
scrapework.go lib/promscrape: add follow_redirect option to scrape_configs section like Prometheus does 2021-04-02 21:20:37 +03:00
scrapework_test.go lib/promscrape: apply sample_limit after metric relabeling is applied as Prometheus does 2021-03-09 15:52:41 +02:00
scrapework_timing_test.go lib/promscrape: remove ID field from ScrapeWork struct. Use a pointer to ScrapeWork as a key in targetStatusMap 2020-12-17 14:31:55 +02:00
statconn.go all: make go vet happy 2021-03-17 00:48:44 +02:00
targets_response.qtpl lib/promscrape: add bootstrap styles to /targets html page 2020-12-15 12:38:29 +02:00
targets_response.qtpl.go lib/promscrape: add bootstrap styles to /targets html page 2020-12-15 12:38:29 +02:00
targetstatus.go all: various fixes in command-line flag descriptions 2021-03-15 22:03:49 +02:00