opentelemetry-helm-charts
opentelemetry-helm-charts copied to clipboard
[helm chart] Add 'relabelings' option to serviceMonitor
Hi, me and my team are importing metrics from multiple clusters with the help of the otel-collector. Because of that we need a certain overview from what cluster these metrics come from. Thats why all metrics should have a cluster label. It works well for the imported metrics.
Unfortunately, currently I don't see a possibility to append the cluster label to the otel-collectors metrics itself. Basically I would like to be able to add a relabelings
config in the serviceMonitor in the helm chart. Currently there is no option for this in the collector and operator helm chart:
- https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/values.yaml#L480
- https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-operator/values.yaml#L104
Is this a valid request?