-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
feat(eap): Add downsampling to the api #88023
Conversation
wmak
commented
Mar 26, 2025
- This updates the events/ api to accept a sampling param so we can make a preflight before trying the new best_effort
- Tests are not really ready, but opening this for now so FE can start sorta testing at least
- This updates the events/ api to accept a sampling param so we can make a preflight before trying the new best_effort - Tests are not really ready, but opening this for now so FE can start sorta testing at least
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.
Awesome, thanks for throwing this together so quick 🙏
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #88023 +/- ##
===========================================
+ Coverage 42.13% 87.77% +45.64%
===========================================
Files 9961 9995 +34
Lines 564258 565304 +1046
Branches 22256 22203 -53
===========================================
+ Hits 237768 496223 +258455
+ Misses 326067 68647 -257420
- Partials 423 434 +11 |
@@ -298,6 +300,7 @@ def run_top_events_timeseries_query( | |||
limit, | |||
referrer, | |||
config, | |||
None, |
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.
Is this intentional set to none for the top events timeseries? And the sampling mode be implemented for any timeseries queries?
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.
Yeah, was trying to rush this out originally and only do it for /events/, i'll follow up with stats
- This updates the events/ api to accept a sampling param so we can make a preflight before trying the new best_effort - Tests are not really ready, but opening this for now so FE can start sorta testing at least