Skip to content

fix(alerts): Trace metrics shouldn't error on query validator#109824

Merged
wmak merged 2 commits intomasterfrom
wmak/fix/handle-trace-metrics-on-the-query-validator
Mar 3, 2026
Merged

fix(alerts): Trace metrics shouldn't error on query validator#109824
wmak merged 2 commits intomasterfrom
wmak/fix/handle-trace-metrics-on-the-query-validator

Conversation

@wmak
Copy link
Member

@wmak wmak commented Mar 3, 2026

  • Fixes SENTRY-5KRT
  • The issue was that with both the tracemetric flags and custom-metrics enabled the check to see if an MRI was being used outside of PerfMetrics would fail since get_column_from_aggregate doesn't account for the query dataset. Updated the check so that when it hits columns its unaware of it just assumes the column is not an MRI

- Fixes SENTRY-5KRT
- The issue was that with both the tracemetric flags and custom-metrics
  enabled the check to see if an MRI was being used outside of
  PerfMetrics would fail since `get_column_from_aggregate` doesn't
  account for the query dataset. Updated the check so that when it hits
  columns its unaware of it just assumes the column is not an MRI
@wmak wmak requested a review from k-fish March 3, 2026 19:27
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 3, 2026
@wmak wmak enabled auto-merge (squash) March 3, 2026 20:52
@wmak wmak merged commit 6c64523 into master Mar 3, 2026
76 checks passed
@wmak wmak deleted the wmak/fix/handle-trace-metrics-on-the-query-validator branch March 3, 2026 21:01
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