-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
chore(ACI): Add logs for triggers to compare both systems #98758
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
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #98758 +/- ##
==========================================
+ Coverage 76.04% 81.20% +5.16%
==========================================
Files 8531 8531
Lines 376551 376626 +75
Branches 23870 23870
==========================================
+ Hits 286330 305845 +19515
+ Misses 89854 70414 -19440
Partials 367 367 |
logger.info( | ||
"subscription_processor.alert_triggered", | ||
extra={ | ||
"rule_id": self.alert_rule.id, |
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.
maybe worth including project or org id in here just because it's easy and might make subset examination a bit easier.
Add logs on both the subscription processor when a trigger's threshold is met or resolved and in workflow engine when the workflow's trigger conditions are met so that we can compare the two systems. Both logs have the detector ID so we can match them up and are behind a flag with a small subset of organizations flagged in so it won't be too much data.
Suspect IssuesThis pull request was deployed and Sentry observed the following issues: Did you find this useful? React with a 👍 or 👎 |
Add logs on both the subscription processor when a trigger's threshold is met or resolved and in workflow engine when the workflow's trigger conditions are met so that we can compare the two systems. Both logs have the detector ID so we can match them up and are behind a flag with a small subset of organizations flagged in so it won't be too much data.