Skip to content

ref(snuba): Use metrics.timer for get_snuba_map timing#116357

Merged
mrduncan merged 1 commit into
masterfrom
mrduncan/snuba-get-snuba-map-metrics-timer
May 28, 2026
Merged

ref(snuba): Use metrics.timer for get_snuba_map timing#116357
mrduncan merged 1 commit into
masterfrom
mrduncan/snuba-get-snuba-map-metrics-timer

Conversation

@mrduncan
Copy link
Copy Markdown
Member

Replace the bespoke timer context manager with metrics.timer for the get_snuba_map call site only, as a canary to confirm metric values are unchanged before migrating the remaining call sites in #115279.

There are monitors on some of the other call sites in #115279 and I'd like to not page anyone.

Replace the bespoke timer context manager with metrics.timer for the
get_snuba_map call site only, as a canary to confirm metric values are
unchanged before migrating the remaining call sites in #115279.

Refs GH-115279
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 28, 2026
@mrduncan mrduncan marked this pull request as ready for review May 28, 2026 15:51
@mrduncan mrduncan requested review from a team as code owners May 28, 2026 15:51
@mrduncan mrduncan merged commit bfe9a29 into master May 28, 2026
85 checks passed
@mrduncan mrduncan deleted the mrduncan/snuba-get-snuba-map-metrics-timer branch May 28, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants