Relabel configuration for replace action requires target_label

18 views
Skip to first unread message

Adso Castro

unread,
Jan 4, 2021, 1:46:13 PM1/4/21
to Prometheus Users
Hi all,

My testing Prometheus Operator Stack is having some bad time, the prometheus pods are crashing non stop, error below:

{"caller":"main.go:289","err":"parsing YAML file /etc/prometheus/config_out/prometheus.env.yaml: relabel configuration for replace action requires 'target_label' value","level":"error","msg":"Error loading config (--config.file=/etc/prometheus/config_out/prometheus.env.yaml)","ts":"2021-01-04T18:29:33.954Z"}

EKS 1.15
Operator v0.40.0
Prometheus: 2.23.0

I think this is a Operator issue, but just tried to downgrade to 0.38.1 and upgrade to 0.41.0 but with no luck at all.

Also, according to https://github.com/prometheus-operator/prometheus-operator/issues/2503 my values.yaml has not a single target_label or source_labels, they're all targetLabel sourceLabels.

Any thoughts?
Reply all
Reply to author
Forward
0 new messages