-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ref(querybuilder): Remove ParamsType from tasks #74570
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
Conversation
- This removes the usage of ParamsType from tasks in favour of SnubaParams - Added stats_period as an option to SnubaParams as a way to define start and end
| params = SnubaParams( | ||
| start=end - timedelta(days=14), | ||
| end=end, | ||
| projects=projects, | ||
| ) |
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.
Didn't use SnubaParams(stats_period= here since the existing functionality sets end to 1hr in the future
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #74570 +/- ##
==========================================
+ Coverage 68.75% 78.17% +9.42%
==========================================
Files 6687 6692 +5
Lines 299181 299562 +381
Branches 51536 51575 +39
==========================================
+ Hits 205689 234186 +28497
+ Misses 86738 59052 -27686
+ Partials 6754 6324 -430
|
- Added automatic self.organization grabbing which the ParamsType -> SnubaParams converter was doing automatically
format_top_events_timeseries_resultseven thoughparams={}now)