MON-509 Fix name of 3 monitors
This commit is contained in:
parent
371e959bbb
commit
90df4078be
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user