Metrics relabeling doesn't respect __tmp prefix #9416
-
What did you do?
What did you expect to see?
And for metrics relabeling there's only
So one can expect that this label won't be ingested into prometheus (please correct me if I misread documentation) What did you see instead? Under which circumstances? Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The documentation here says: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config We could make it clearer that it only affect target relabeling, e.g. It does not affect:
you would need to remove it with another action
|
Beta Was this translation helpful? Give feedback.
-
The sentence: |
Beta Was this translation helpful? Give feedback.
The documentation here says:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
Labels starting with __ will be removed from the label set after target relabeling is completed.
We could make it clearer that it only affect target relabeling, e.g.
relabel_configs
.It does not affect:
metric_relabel_configs
write_relabel_configs
alert_relabel_configs
you would need to remove it with another action