-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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(crons): Add queue_incident_occurrence #80842
feat(crons): Add queue_incident_occurrence #80842
Conversation
Produces an IncidentOccurrence message into the monitors-incident-occurrences topic for later issue occurrence dispatching.
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #80842 +/- ##
==========================================
- Coverage 78.42% 78.41% -0.01%
==========================================
Files 7209 7209
Lines 319618 319641 +23
Branches 44006 44007 +1
==========================================
+ Hits 250646 250653 +7
- Misses 62586 62598 +12
- Partials 6386 6390 +4 |
"clock_tick_ts": int(clock_tick.timestamp()), | ||
} | ||
|
||
# The incident occurrence should be |
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.
please finish comment
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.
looks good. follow ups for spelling mistake + comments
Passes the clock_tick timestamp through mark_failed, which dispatch_incident_occurrence will used to decide how to dispatch the incident_occurrence (through queuing, or directly sending) Requires #80842
Produces an
IncidentOccurrence
message into the monitors-incident-occurrences topic for later issue occurrence dispatching.Part of GH-79328