Skip to content

fix(metrics): drop duplicate snuba prefix from remaining metrics - #8564

Merged
ElioDiNino merged 1 commit into
masterfrom
eliodinino/eap-851-drop-duplicate-snuba-prefix-from-remaining-metrics
Oct 19, 2026
Merged

ElioDiNino merged 1 commit into
masterfrom
eliodinino/eap-851-drop-duplicate-snuba-prefix-from-remaining-metrics

Conversation

@ElioDiNino

@ElioDiNino ElioDiNino commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #8526. The global metrics backend already prefixes everything with snuba., so these still emitted doubled names:

Before After
snuba.snuba.delete.max_rows_exceeded snuba.delete.max_rows_exceeded
snuba.snuba.delete.delete_query.delete_ignored snuba.delete.delete_query.delete_ignored
snuba.snuba.delete.delete_query.delivery_callback snuba.delete.delete_query.delivery_callback
snuba.snuba.state.record_query.delivery_callback snuba.state.record_query.delivery_callback
snuba.snuba.validation.referrer_mismatch snuba.validation.referrer_mismatch
snuba.read_through_cache.snuba.read_through_cache.fail_open snuba.read_through_cache.fail_open

Also removes the snuba.attribution metrics wrapper, which nothing used.

Heads up: this renames metrics. No alerts reference them, but two dashboard widgets need updating after deploy. They're tracked as a checklist in the ticket.

No test asserts on these metric names.

Refs EAP-851

The global metrics backend already prefixes everything with `snuba.`, so
wrappers named `snuba.delete`, `snuba.state` and `snuba.validation`
emitted `snuba.snuba.*`, and the read-through cache fail-open counter
repeated its wrapper prefix. Also removes the unused attribution wrapper.

Refs EAP-851
@ElioDiNino
ElioDiNino requested a review from a team as a code owner October 19, 2026 17:58
@linear-code

linear-code Bot commented Oct 19, 2026

Copy link
Copy Markdown

EAP-851

Comment thread snuba/state/cache/redis/backend.py
@ElioDiNino
ElioDiNino enabled auto-merge (squash) October 19, 2026 18:07
@ElioDiNino
ElioDiNino merged commit f21f3f3 into master Oct 19, 2026
69 checks passed
@ElioDiNino
ElioDiNino deleted the eliodinino/eap-851-drop-duplicate-snuba-prefix-from-remaining-metrics branch October 19, 2026 18:21
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.

2 participants