Skip to content

feat: Snapshot SnubaQueryEventTypes when updating alert rule #94879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shruthilayaj
Copy link
Member

For the EventsAnalyticsPlatform dataset, we use EventType to disambiguate
between trace item type logs vs spans. I'd like to return event type as a part
of the incident response since, it's used to determine the copy on the incident
history table.

Saving a snapshot of SnubaQueryEventType so that the correct event types
are returned if the alert was updated.

Screenshot 2025-07-03 at 2 03 22 PM

@shruthilayaj shruthilayaj requested a review from a team as a code owner July 3, 2025 18:04
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 3, 2025
Copy link

codecov bot commented Jul 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #94879      +/-   ##
==========================================
+ Coverage   79.45%   87.89%   +8.44%     
==========================================
  Files       10444    10446       +2     
  Lines      604023   604076      +53     
  Branches    23517    23517              
==========================================
+ Hits       479898   530961   +51063     
+ Misses     123762    72752   -51010     
  Partials      363      363              

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.

1 participant