The operator already supports relabelings, but not the metricRelabelings. If I want to avoid exported_namespace and exporeted_pod labels and use the namespace and pod instead, I can do it with:
metricRelabelings:
- action: replace
regex: (.+)
sourceLabels:
- exported_namespace
targetLabel: namespace
- action: replace
regex: (.+)
sourceLabels:
- exported_pod
targetLabel: pod
- action: replace
regex: (.+)
sourceLabels:
- exported_container
targetLabel: container
but this is currently not possible from the helm values.
The operator already supports
relabelings, but not themetricRelabelings. If I want to avoidexported_namespaceandexporeted_podlabels and use thenamespaceandpodinstead, I can do it with:but this is currently not possible from the helm values.