Before this PR, during the santize method for scrape config, we were keeping the wrong key: metrics_relabel_configs (metrics in plural). The correct key is metric_relabel_configs (metric, in singular).
As a result, we could not set metric_relabel_configs because it was being dropped by sanitation.
Issue
Before this PR, during the
santize
method for scrape config, we were keeping the wrong key:metrics_relabel_configs
(metrics
in plural). The correct key ismetric_relabel_configs
(metric
, in singular).As a result, we could not set
metric_relabel_configs
because it was being dropped by sanitation.Solution
Remove the stray
s
.In tandem with: