-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat: Track alert misfires on EAP #90794
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: Track alert misfires on EAP #90794
Conversation
@@ -196,10 +201,10 @@ def get_mismatch_type(mismatches: dict[int, dict[str, float]]): | |||
if all_rpc_values_zero: | |||
return MismatchType.RPC_ALWAYS_ZERO, many_low_conf_buckets, many_low_sample_rate_buckets | |||
|
|||
if snql_always_lower: | |||
if snql_always_lower and total_buckets - len(mismatches) < 2: |
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.
snql can have an extra bucket (because of how we group by timestamps)
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.
curious, is snql
the query layer we use via snuba?
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.
@nsdeschenes yes - it stands for Snuba Query Language (docs) it used to be the primary way we (the sentry backend) would query clickhouse via snuba. but with the new RPCs, it's not longer the case (although the platform itself may or may not use SnQL under the hood)
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.
mmmm i see i see, thank you!
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #90794 +/- ##
==========================================
+ Coverage 87.78% 87.81% +0.03%
==========================================
Files 10274 10282 +8
Lines 582608 583565 +957
Branches 22567 22567
==========================================
+ Hits 511423 512459 +1036
+ Misses 70756 70677 -79
Partials 429 429 |
Add some logic to track false positives and false negatives on alert misfires.