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