kedacore / charts

Helm charts for KEDA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for metricRelabelings to Pod and Service monitors

pragmaticivan opened this issue · comments

prometheus/prometheus#5200

name is not available in relabelings.

Use-Case

To perform something like:

- sourceLabels: [__name__]
      regex: ^keda_scaler_errors$
      targetLabel: newrelic_metric_type
      action: replace
      replacement: counter

it would need to go under metricRelabelings instead.

cc @JorTurFer I can take this one if accepted

Yeah, I think it's a good addition. Not setting them as default keeps current behavior and adding them can extend current options