feat(erpc): add metricRelabelings support to ServiceMonitor#274
Merged
WesleyCharlesBlake merged 1 commit intomainfrom Feb 11, 2026
Merged
Conversation
Enable post-scrape metric filtering via ServiceMonitor metricRelabelings. This allows consumers to drop or relabel metrics before they are committed to the WAL and remote-written to the metrics backend.
Contributor
Author
|
Downstream PR: chronicleprotocol/app-of-apps#1066 (consumes chart 0.6.2 for testnet metricRelabelings) |
WesleyCharlesBlake
approved these changes
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
metricRelabelingssupport to the erpc ServiceMonitor template, enabling post-scrape metric filtering (e.g. dropping high-cardinality testnet series before remote-write)0.6.1→0.6.2metricRelabelings: []default tovalues.yamlChanges
charts/erpc/Chart.yamlcharts/erpc/templates/servicemonitor.yamlmetricRelabelingsblock (gated on non-empty)charts/erpc/values.yamlmetricRelabelings: []defaultContext
Part of erpc-prod cardinality reduction effort. The
metricRelabelingsfield is consumed byapp-of-appsto drop testnet network series (~116K series, 34% of total) from production Mimir.Downstream PR: chronicleprotocol/app-of-apps (pending — depends on this chart being published as 0.6.2)
Related: chronicleprotocol/app-of-apps#1063 (Alloy resource limits)
Test plan
helm templaterendersmetricRelabelingswhen values are sethelm templateomits block whenmetricRelabelings: []ct lint --config ct.yaml