-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(alerts): Add support for log type alert #93043
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
base: master
Are you sure you want to change the base?
feat(alerts): Add support for log type alert #93043
Conversation
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #93043 +/- ##
========================================
Coverage 82.87% 82.87%
========================================
Files 10295 10295
Lines 590832 591000 +168
Branches 22980 22980
========================================
+ Hits 489647 489802 +155
- Misses 99751 99764 +13
Partials 1434 1434 |
|
||
assert ( | ||
createSubscriptionRequest.time_series_request.meta.trace_item_type | ||
== TraceItemType.TRACE_ITEM_TYPE_LOG |
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.
making sure snuba subscription is created with trace item type log
|
||
assert ( | ||
createSubscriptionRequest.time_series_request.meta.trace_item_type | ||
== TraceItemType.TRACE_ITEM_TYPE_SPAN |
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.
making sure snuba subscription is created with trace item type span
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.
lgtm, nice tests!
Add spans and logs to valid event types for performance alerts.
Update entity subscription to use the correct trace item type in
SearchResolver