Skip to content

Adding an alert template for triggering a MySQL replication lag#5084

Open
laudares wants to merge 4 commits intopercona:v3from
laudares:patch-3
Open

Adding an alert template for triggering a MySQL replication lag#5084
laudares wants to merge 4 commits intopercona:v3from
laudares:patch-3

Conversation

@laudares
Copy link
Copy Markdown
Contributor

This file provides an alert template for MySQL replication lagging, with a customizable threshold value (time in seconds).
cc: @theTibi (who asked to collaborate on this) and @guli (who helped me improve the template with a custom threshold).

…tion lagging reaching a certain threshold

This file provides an alert template for MySQL replication lagging, with a customizable threshold value (time in seconds).
@laudares laudares requested a review from a team as a code owner February 25, 2026 21:39
@laudares laudares requested review from JiriCtvrtka and maxkondr and removed request for a team February 25, 2026 21:39
laudares and others added 2 commits February 26, 2026 15:19
Removing external parenthesis (not necessary).

Co-authored-by: Alex Demidoff <a@demidoff.me>
Removed the bool evaluation for threshold; it was not the intention for the threshold to be converted to 0 or 1, and that was preventing the alert from being auto-silenced when seconds_behind_source went below the threshold value.
Copy link
Copy Markdown
Contributor Author

@laudares laudares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested with both 300s and 60s threshold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants