In standalone statsd-exporter we can add statsd config mapping file (yml) to parameter --statsd.mapping-config
(reference), so we can mapping metrics that send from airflow. But when I use airflow helm chart, I confuse how we can add additional config mapping in default statsd-exporter from airflow chart? Thank you
Actually, I found parameter extraMappings=[]
in values.yml that have possibilities to add mapping, but I still don't know how to use it
I believe you need to add mappings simply by adding an array in your custom my_values.yml
:
extraMappings:
- match: "test.*.*.counter"
name: "..."
labels:
provider: "..."
- match: "test2.*.*.counter"
name: "$..."
labels:
provider: "..."
And then using your file:
helm install -f my_values.yaml CHART_SPECIFICATION
You can see sime examples of mapping in the reference you mentioned.