-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from wellcomecollection/max-age-alarm
Add queue alarm on message age
- Loading branch information
Showing
3 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
RELEASE_TYPE: minor | ||
|
||
This change adds a main queue alarm that triggers when the main queue has messages older than a certain age. | ||
|
||
This is useful for monitoring the health of the queue and ensuring that messages are being processed in a timely manner. | ||
|
||
Adds the variables: | ||
|
||
- `dlq_alarm_action_arns` - The ARNs of the resources to send DLQ alarm notifications to | ||
- `main_q_age_alarm_action_arns` - The ARN of the resources to send main queue age alarm notifications to | ||
- `max_age_in_hours` - The maximum age of a message in the main queue before the alarm triggers | ||
- `enable_dlq_not_empty_alarm` - Whether to enable the DLQ not empty alarm (default: `false`), overridden if `dlq_alarm_action_arns` is not empty | ||
- `enable_main_q_age_alarm` - Whether to enable the main queue age alarm (default: `false`), overridden if `main_q_age_alarm_action_arns` is not empty | ||
|
||
We deprecate the `alarm_topic_arn` variable in favour of the new `dlq_alarm_action_arns` and `main_q_age_alarm_action_arns` variables. |
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
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