-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
New Notification: Slow Response Time w/ Resend Interval #4005
Open
stephenpapierski
wants to merge
58
commits into
louislam:master
Choose a base branch
from
stephenpapierski:feature-slow-response-notification
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
New Notification: Slow Response Time w/ Resend Interval #4005
stephenpapierski
wants to merge
58
commits into
louislam:master
from
stephenpapierski:feature-slow-response-notification
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
louislam#1878 with modern knex_migration
…onse time returns to normal
…enpapierski/uptime-kuma into feature-slow-response-notification
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:monitor
Everything related to monitors
area:notifications
Everything related to notifications
needs:resolve-merge-conflict
pr:needs review
this PR needs a review by maintainers or other community members
pr:please resolve merge conflict
A merge-conflict needs to be addressed before reviewing makes sense again
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
This new feature allows notifications to be configured surrounding the response time of a given service.
Resolves #1813
Closes #1878
Fixes #4035
Resend Interval
Last
Response Time Calculation MethodThreshold Calculation
withStatic Threshold
andRelative to Avg. Response
MethodsSlow
badge to monitor dashboard when service is responding slow (no badge whenNominal
)Slow/Nominal
Entries to events logSlow/Nominal
toast messagesSlow
services to Dashboard Quick StatsSlow/Nominal
notifications that looks similar to the existingUp/Down
notifications. By default, the rest of the notification providers fall back to plain text notifications.Notification Control
Slow Response Notification
Resend Notification if Slow Response X times consecutively
Notifications are sent during 3 events.
Resend Notification
is greater than 0 (Service still responding slowly)Response Time Calculation
There are multiple options for calculating the response time.
Window Duration
Window Duration
Window Duration
Window Duration
Threshold Calculation
There are also multiple options for calculating the threshold.
Threshold
Threshold Multiplier
Threshold Multiplier
* 24-hour average response time). The goal here is that you don't have to tune your thresholds, it will simply tell you if your service is responding slower than "normal".Type of change
Please delete any options that are not relevant.
Checklist
(including JSDoc for methods)
Screenshots (if any)
Feature Disabled (default)
"Slow Response Notification" checkbox below rest of "General" fields.

Feature Enabled (with default settings)
Response Time Calculation
Average
Max
Last (Window Duration Hidden)
Threshold Calculation
Relative to Avg. Response
Static Threshold
Resend Interval
Dashboard Changes
Slow
badge to monitor dashboard when service is responding slow (no badge whenNominal
)Add

Slow
/Nominal
entries to events logAdd

Slow
/Nominal
toast messagesAdd number of
Slow
services to Dashboard Quick StatsNotification Providers
Discord
Slack