MON-509 Fix name of 3 monitors

This commit is contained in:
gauthier.ampe@fr.clara.net 2019-09-09 18:51:29 +02:00 committed by Quentin Manfroi
parent 371e959bbb
commit 90df4078be

View File

@ -673,7 +673,7 @@ EOQ
resource "datadog_monitor" "file_throttling_error_requests" { resource "datadog_monitor" "file_throttling_error_requests" {
count = var.throttling_error_requests_enabled == "true" ? 1 : 0 count = var.throttling_error_requests_enabled == "true" ? 1 : 0
name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Azure Storage too many throttling errors {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}" name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Azure File Storage too many throttling errors {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
message = coalesce(var.throttling_error_requests_message, var.message) message = coalesce(var.throttling_error_requests_message, var.message)
query = <<EOQ query = <<EOQ
@ -707,7 +707,7 @@ EOQ
resource "datadog_monitor" "queue_throttling_error_requests" { resource "datadog_monitor" "queue_throttling_error_requests" {
count = var.throttling_error_requests_enabled == "true" ? 1 : 0 count = var.throttling_error_requests_enabled == "true" ? 1 : 0
name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Azure Storage too many throttling errors {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}" name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Azure Queue Storage too many throttling errors {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
message = coalesce(var.throttling_error_requests_message, var.message) message = coalesce(var.throttling_error_requests_message, var.message)
query = <<EOQ query = <<EOQ
@ -745,7 +745,7 @@ EOQ
resource "datadog_monitor" "table_throttling_error_requests" { resource "datadog_monitor" "table_throttling_error_requests" {
count = var.throttling_error_requests_enabled == "true" ? 1 : 0 count = var.throttling_error_requests_enabled == "true" ? 1 : 0
name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Azure Storage too many throttling errors {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}" name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Azure Table Storage too many throttling errors {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
message = coalesce(var.throttling_error_requests_message, var.message) message = coalesce(var.throttling_error_requests_message, var.message)
query = <<EOQ query = <<EOQ