Skip to content

proposal: relabel action to drop target/sample when any label value matches#90

Open
RajeshRajendiran wants to merge 1 commit into
prometheus:mainfrom
RajeshRajendiran:relabel-drop-if-any-label-matches
Open

proposal: relabel action to drop target/sample when any label value matches#90
RajeshRajendiran wants to merge 1 commit into
prometheus:mainfrom
RajeshRajendiran:relabel-drop-if-any-label-matches

Conversation

@RajeshRajendiran

Copy link
Copy Markdown

This proposal addresses prometheus/prometheus#14057 — a relabel action
(tentatively dropifany) that drops a target or sample when the regex
matches the value of any of its labels, so operators can block
well-known high-cardinality value patterns (IDs, emails, generated
hostnames) without knowing in advance which label will carry them.

Filed per the bug-scrub guidance from @krajorama and @alexgreenbank on
the issue, which asked for a design doc here as the starting point. The
doc covers the foot-gun concern, naming, and the alternatives discussed
in the issue and in #13664 / #12483.

…atches

Signed-off-by: Rajesh Rajendiran <rajeshrajendirandev@gmail.com>
@RajeshRajendiran
RajeshRajendiran force-pushed the relabel-drop-if-any-label-matches branch from ed6fbc7 to 4b3dd8d Compare July 8, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant