helm-chart update
Extra variable in values.yamlmetrics.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
[ ] Does my change need to be backported to a previous release?
What backport versions were discussed with the Maintainers in the Issue?
[x] I made sure to update CHANGELOG.md.
Remember, the CHANGELOG needs to mention:
Any new features
Any changes to our included version of Envoy
Any non-backward-compatible changes
Any deprecations
[x] This is unlikely to impact how Ambassador performs at scale.
Remember, things that might have an impact at scale include:
Any significant changes in memory use that might require adjusting the memory limits
Any significant changes in CPU use that might require adjusting the CPU limits
Anything that might change how many replicas users should use
Changes that impact data-plane latency/scalability
[x] My change is adequately tested.
Remember when considering testing:
Your change needs to be specifically covered by tests.
Tests need to cover all the states where your change is relevant: for example, if you add a behavior that can be enabled or disabled, you'll need tests that cover the enabled case and tests that cover the disabled case. It's not sufficient just to test with the behavior enabled.
You also need to make sure that the entire area being changed has adequate test coverage.
If existing tests don't actually cover the entire area being changed, add tests.
This applies even for aspects of the area that you're not changing – check the test coverage, and improve it if needed!
We should lean on the bulk of code being covered by unit tests, but...
... an end-to-end test should cover the integration points
[x] I updated DEVELOPING.md with any any special dev tricks I had to use to work on this code efficiently.
[x] The changes in this PR have been reviewed for security concerns and adherence to security best practices.
Description
helm-chart update Extra variable in
values.yaml
metrics.serviceMonitor.relabelings
and templating toggle in theserviceMonitor
template This will allow us to add extra labels to prometheus metrics exposed by addition toscrape_config
for the jobFixes: #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
additional
Also updated the
CHANGELOG.md
withmake generate
Checklist
[ ] Does my change need to be backported to a previous release?
[x] I made sure to update
CHANGELOG.md
.Remember, the CHANGELOG needs to mention:
[x] This is unlikely to impact how Ambassador performs at scale.
Remember, things that might have an impact at scale include:
[x] My change is adequately tested.
Remember when considering testing:
[x] I updated
DEVELOPING.md
with any any special dev tricks I had to use to work on this code efficiently.[x] The changes in this PR have been reviewed for security concerns and adherence to security best practices.