VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 123aa4c79e
lib/promscrape: properly implement ScrapeConfig.clone()
Previously ScrapeConfig.clone() was improperly copying promauth.Secret fields -
their contents was replaced with `<secret>` value.

This led to inability to use passwords and secrets in `-promscrape.config` file.
The bug has been introduced in v1.77.0 in the commit 67b10896d2

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2551
2022-05-07 00:05:40 +03:00
..
discovery lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:05:40 +03:00
discoveryutils lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:05:40 +03:00
testdata lib/promscrape: fix errors in test config 2022-02-08 19:56:37 +02:00
client.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:05:40 +03:00
config.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:05:40 +03:00
config_test.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:05:40 +03:00
config_timing_test.go lib/promscrape: follow-up after 91e290a8ff 2022-04-20 16:11:37 +03:00
scraper.go lib/promscrape: adds job restart method (#2455) 2022-04-16 20:28:46 +03:00
scrapework.go lib/promscrape: rename promscrape_stale_samples_created_total metric to vm_promscrape_stale_samples_created_total, so its name is consistent with the rest of vm_promscrape_ metrics 2022-05-06 15:33:13 +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:20:44 +03:00
scrapework_timing_test.go app/vmagent: follow-up after fe445f753b 2021-08-05 09:52:32 +03:00
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
targetstatus.go lib/promscrape: use a hash over target labels as a key for dropped targets' map 2022-04-20 15:37:00 +03:00
targetstatus.qtpl lib/promscrape: simply update UI (#2479) 2022-04-20 10:25:04 +02:00
targetstatus.qtpl.go Fix targetstatus qtpl paths (#2517) 2022-04-29 10:36:03 +03:00