Answer the question
In order to leave comments, you need to log in
How to specify a value as a percentage?
There is such a terraform file for working with datadog
resource "datadog_synthetics_test" "check-api" {
type = "api"
subtype = "icmp"
request_definition {
number_of_packets = 4
host = "IP-my-service"
}
assertion {
type = "packetLossPercentage"
operator = "lessThan"
target = "60"
}
locations = ["aws:eu-west-2", "aws:ca-central-1", "aws:ap-south-1"]
options_list {
tick_every = 60
retry {
count = 2
interval = 300
}
monitor_options {
renotify_interval = 100
}
}
name = "Check my service"
message = "@slack-notify \n"
tags = ["check_status:live", "env:test"]
status = "live"
}
Answer the question
In order to leave comments, you need to log in
Looks like a bug
. Otherwise, you can try writing 0.6 instead of 60
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question