diff --git a/terraform/monitoring/main.tf b/terraform/monitoring/main.tf index df4c3da3..5d815588 100644 --- a/terraform/monitoring/main.tf +++ b/terraform/monitoring/main.tf @@ -593,7 +593,7 @@ resource "grafana_dashboard" "at_a_glance" { ], "executionErrorState" : "alerting", "frequency" : "1m", - "for" : "5m", + "for" : "", "handler" : 1, "name" : "${var.environment} Echo Server 5XX alert", "noDataState" : "no_data", @@ -619,7 +619,8 @@ resource "grafana_dashboard" "at_a_glance" { "hideFrom" : { "legend" : false, "tooltip" : false, - "viz" : false + "viz" : false, + "mode" : "dashed", }, "lineInterpolation" : "linear", "lineWidth" : 1, @@ -720,6 +721,14 @@ resource "grafana_dashboard" "at_a_glance" { "statistic" : "Sum" } ], + "thresholds" : [ + { + "colorMode" : "critical", + "op" : "gt", + "value" : 1, + "visible" : true + } + ], "title" : "5XX", "type" : "timeseries" },