-
Notifications
You must be signed in to change notification settings - Fork 215
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: Introducing the Level Trigger Mode #315
Conversation
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #315 +/- ##
========================================
Coverage 99.67% 99.67%
========================================
Files 82 83 +1
Lines 5503 5618 +115
========================================
+ Hits 5485 5600 +115
Misses 12 12
Partials 6 6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
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, wonderful work!
Co-authored-by: Bomin Zhang <[email protected]>
The PR introduces the level trigger mode with three types of altering intervals for continuing DOWN status:
Regular Strategy: Notifications are sent at the same frequency as the probe time, continuing until the maximum number of notifications is reached.
Incremental Strategy: Notifications are sent at increasing intervals, continuing until the maximum number of notifications is reached. With this strategy, notifications are sent at the failure of 1, 2, 4, 7, 11, 16, 22, and so on. the intervals are 1, 2, 3, 4, 5, 6...
Exponential Strategy: Notifications are sent at exponentially increasing intervals, continuing until the maximum number of notifications is reached. With this strategy, notifications are sent at the failure of 1, 2, 4, 8, 16, 32, and so on.
The configuration can be put into any probe or global setting.
Close #314