Skip to content

Instantly share code, notes, and snippets.

@Artemu
Created October 22, 2018 23:04
Show Gist options
  • Save Artemu/a7eaf5d5e8d306d569155dea2109ff98 to your computer and use it in GitHub Desktop.
Save Artemu/a7eaf5d5e8d306d569155dea2109ff98 to your computer and use it in GitHub Desktop.
module.env-xxxxxx.datadog_monitor.sqs-delay: Creating...
escalation_message: "" => "{{#is_alert}} *REPEAT* | SQS is reporting a delay in message delivery time >= 1hr {{/is_alert}} {{#is_warning}} *REPEAT* | SQS is reporting a delay in message delivery time >= 15m {{/is_warning}} {{#is_recovery}} *REPEAT* | SQS is reporting message delivery time has fallen back into the respected range. {{/is_recovery}}"
evaluation_delay: "" => "<computed>"
include_tags: "" => "true"
message: "" => "{{#is_alert}} SQS is reporting a delay in message delivery time >= 1hr {{/is_alert}} {{#is_warning}} SQS is reporting a delay in message delivery time >= 15m {{/is_warning}} {{#is_recovery}} SQS is reporting message delivery time has fallen back into the respected range. {{/is_recovery}}"
name: "" => "env-xxxxxx | SQS - Delay"
new_host_delay: "" => "300"
notify_audit: "" => "false"
notify_no_data: "" => "true"
query: "" => "avg:aws.sqs.approximate_age_of_oldest_message{environment:env-xxxxxx}"
renotify_interval: "" => "60"
require_full_window: "" => "true"
silenced.%: "0" => "1"
silenced.*: "" => "0"
tags.#: "0" => "2"
tags.0: "" => "foo:bar"
tags.1: "" => "baz"
thresholds.%: "0" => "5"
thresholds.critical: "" => "3600"
thresholds.critical_recovery: "" => "120"
thresholds.ok: "" => "0"
thresholds.warning: "" => "900"
thresholds.warning_recovery: "" => "120"
timeout_h: "" => "60"
type: "" => "metric alert"
Error: Error applying plan:
1 error(s) occurred:
* module.env-xxxxxx.datadog_monitor.sqs-delay: 1 error(s) occurred:
* datadog_monitor.sqs-delay: error updating monitor: API error 400 Bad Request: {"errors":["The value provided for parameter 'query' is invalid"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment