MON-271 remove parentheses to keep the monitor editable in webui
This commit is contained in:
parent
6af25e6513
commit
642eafd62c
@ -213,9 +213,9 @@ resource "datadog_monitor" "memory_frag" {
|
||||
message = "${coalesce(var.mem_frag_message, var.message)}"
|
||||
|
||||
query = <<EOL
|
||||
${var.mem_frag_time_aggregator}(${var.mem_frag_timeframe}): (
|
||||
${var.mem_frag_time_aggregator}(${var.mem_frag_timeframe}):
|
||||
avg:redis.mem.fragmentation_ratio{${data.template_file.filter.rendered}} by {redis_host,redis_port}
|
||||
) * 100 > ${var.mem_frag_threshold_critical}
|
||||
* 100 > ${var.mem_frag_threshold_critical}
|
||||
EOL
|
||||
|
||||
type = "metric alert"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user