emissary-ingress / emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
https://www.getambassador.io
Apache License 2.0
4.33k stars 682 forks source link

helm-chart: Flexibility to add extra custom relabelling config for `serviceMonitor` #5511

Closed raghavtan closed 3 months ago

raghavtan commented 7 months ago

Description

helm-chart update Extra variable in values.yaml metrics.serviceMonitor.relabelings and templating toggle in the serviceMonitor template This will allow us to add extra labels to prometheus metrics exposed by addition to scrape_config for the job

Fixes: #5510

Related Issues

Ability to use custom relabelling for all prometheus metrics exported by emissary. Since we use the upstream chart and just customise it using the values.yaml

Testing

As per the documentation

make test
make gotest
make pytest
make lint

additional

Also updated the CHANGELOG.md with make generate

Checklist