VictoriaMetrics/lib/promrelabel
Aliaksandr Valialkin 810dd74fb9
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:06:19 +03:00
..
testdata lib/promrelabel: add keep_metrics and drop_metrics actions to relabeling rules 2021-09-09 16:25:09 +03:00
config_test.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:06:19 +03:00
config.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:06:19 +03:00
if_expression_test.go lib/promscrape: Enable filters for endpoint and labels (#2466) 2022-04-19 18:27:44 +03:00
if_expression.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:06:19 +03:00
relabel_test.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:35:13 +02:00
relabel_timing_test.go app/{vmagent,vminsert}: follow-up after 2fe045e2a4 2021-06-04 20:33:22 +03:00
relabel.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:35:13 +02:00
sort_test.go app/vmagent: initial implementation for vmagent 2020-02-23 17:31:54 +02:00
sort.go lib/promscrape: optimize getScrapeWork() function 2022-04-20 15:34:18 +03:00