I hereby claim:
- I am utilus-bot on github.
- I am utilusbot (https://keybase.io/utilusbot) on keybase.
- I have a public key whose fingerprint is B85F CF88 19CF 1EE9 4E0E DD28 B709 55C9 DF6D 551C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
resource "datadog_monitor" "cannot_connect_http" { | |
name = "[${var.environment}] [${var.aws_region}] Connection to backend" | |
type = "metric alert" | |
message = "{{#is_recovery}}Can{{/is_recovery}}{{^is_recovery}}Cannot{{/is_recovery}} connect to {{url.name}} TCP endpoint in {{host.region}}.\nCheck message: {{check_message}}. Notify: @slack-environment-${var.environment}" | |
query = "\"tcp.can_connect\".over(\"environment:dev\",\"instance:my_app\",\"region:eu-central-1\").by(\"host\",\"instance\",\"port\",\"target_host\").last(3).count_by_status()" | |
thresholds { | |
critical = 2 |