opentelemetry-helm-charts icon indicating copy to clipboard operation
opentelemetry-helm-charts copied to clipboard

[helm chart] Add 'relabelings' option to serviceMonitor

Open toporek3112 opened this issue 7 months ago • 0 comments

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?

toporek3112 avatar Jun 27 '24 16:06 toporek3112