-
-
Save lclarkmichalek/c85a809c61daed8bdef252da61553b5b to your computer and use it in GitHub Desktop.
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
job:stashdef_lag:seconds = | |
(time() - max(stashdef_last_received_timestamp_seconds)) + max(stashdef_lag_seconds) | |
ALERT StashDeferredLagHigh | |
IF job:stashdef_lag:seconds > 5 * 60 | |
FOR 2m | |
LABELS { | |
slack_channel="stash-deferred" | |
} | |
ANNOTATIONS { | |
description="Stash deferred messages are arriving {{ $value }} seconds after they were scheduled (threshold 5m)" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment