-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat(explorer): add RPC to get baseline tag distributions #104928
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #104928 +/- ##
===========================================
+ Coverage 80.61% 80.62% +0.01%
===========================================
Files 9413 9409 -4
Lines 403715 403572 -143
Branches 25662 25623 -39
===========================================
- Hits 325454 325395 -59
+ Misses 77792 77710 -82
+ Partials 469 467 -2 |
aliu39
approved these changes
Dec 16, 2025
src/sentry/seer/explorer/tools.py
Outdated
| start_dt = end_dt - timedelta(days=7) | ||
|
|
||
| query = Query( | ||
| match=Entity("events"), |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note this will only include error events and not performance issue occurrences
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds an RPC that queries for tag distributions outside of a given issue. We don't need one for inside an issue because we already get that through
get_issue_details, at least for the current use case in Explorer (https://github.com/getsentry/seer/pull/4276)This query is very similar to what's used in existing suspect tags/flags code so should be acceptable performance-wise.
Closes AIML-2053