Skip to content

feat(erpc): add metricRelabelings support to ServiceMonitor#274

Merged
WesleyCharlesBlake merged 1 commit intomainfrom
feat/erpc-servicemonitor-metric-relabelings
Feb 11, 2026
Merged

feat(erpc): add metricRelabelings support to ServiceMonitor#274
WesleyCharlesBlake merged 1 commit intomainfrom
feat/erpc-servicemonitor-metric-relabelings

Conversation

@devkoriel
Copy link
Contributor

Summary

  • Adds metricRelabelings support to the erpc ServiceMonitor template, enabling post-scrape metric filtering (e.g. dropping high-cardinality testnet series before remote-write)
  • Bumps chart version 0.6.10.6.2
  • Adds metricRelabelings: [] default to values.yaml

Changes

File Change
charts/erpc/Chart.yaml Version bump 0.6.1 → 0.6.2
charts/erpc/templates/servicemonitor.yaml Add metricRelabelings block (gated on non-empty)
charts/erpc/values.yaml Add metricRelabelings: [] default

Context

Part of erpc-prod cardinality reduction effort. The metricRelabelings field is consumed by app-of-apps to 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 template renders metricRelabelings when values are set
  • helm template omits block when metricRelabelings: []
  • Chart lints cleanly: ct lint --config ct.yaml

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.
@devkoriel
Copy link
Contributor Author

Downstream PR: chronicleprotocol/app-of-apps#1066 (consumes chart 0.6.2 for testnet metricRelabelings)

@devkoriel devkoriel self-assigned this Feb 11, 2026
@devkoriel devkoriel added the enhancement New feature or request label Feb 11, 2026
@WesleyCharlesBlake WesleyCharlesBlake merged commit ec9888c into main Feb 11, 2026
2 checks passed
@WesleyCharlesBlake WesleyCharlesBlake deleted the feat/erpc-servicemonitor-metric-relabelings branch February 11, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants