MON-48 - Use ms instead of percent for latency
This commit is contained in:
parent
5797379a1b
commit
9fccecd6b2
@ -1,6 +1,6 @@
|
|||||||
# Monitoring Api Gateway latency
|
# Monitoring Api Gateway latency
|
||||||
resource "datadog_monitor" "API_Gateway_latency" {
|
resource "datadog_monitor" "API_Gateway_latency" {
|
||||||
name = "[${var.environment}] API Gateway latency {{comparator}} {{#is_alert}}{{threshold}}%{{/is_alert}}{{#is_warning}}{{warn_threshold}}%{{/is_warning}} ({{value}}%)"
|
name = "[${var.environment}] API Gateway latency {{comparator}} {{#is_alert}}{{threshold}}ms{{/is_alert}}{{#is_warning}}{{warn_threshold}}ms{{/is_warning}} ({{value}}ms)"
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
message = "${var.message}"
|
message = "${var.message}"
|
||||||
|
|
||||||
|
|||||||
@ -161,7 +161,7 @@ resource "datadog_monitor" "ELB_too_much_5xx_backend" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "datadog_monitor" "ELB_backend_latency" {
|
resource "datadog_monitor" "ELB_backend_latency" {
|
||||||
name = "[${var.environment}] ELB latency too high {{comparator}} {{#is_alert}}{{threshold}}%{{/is_alert}}{{#is_warning}}{{warn_threshold}}%{{/is_warning}} ({{value}}%)"
|
name = "[${var.environment}] ELB latency too high {{comparator}} {{#is_alert}}{{threshold}}s{{/is_alert}}{{#is_warning}}{{warn_threshold}}s{{/is_warning}} ({{value}}s)"
|
||||||
message = "${var.message}"
|
message = "${var.message}"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user