Skip to content

Commit

Permalink
set period
Browse files Browse the repository at this point in the history
  • Loading branch information
drobinson-moj committed Nov 18, 2024
1 parent 9150a13 commit 97e5a90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/modules/baseline_presets/cloudwatch_dashboards.tf
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ locals {
expression = "SORT(SEARCH('{CWAgent,InstanceId,type,type_instance} MetricName=\"collectd_endpoint_cert_expiry_value\"','Minimum'),MIN,ASC)"
properties = {
view = "bar"
period = 3600
stacked = false
region = "eu-west-2"
title = "endpoint-cert-days-to-expiry"
Expand Down Expand Up @@ -781,6 +782,7 @@ locals {
expression = "SORT(SEARCH('{CustomMetrics, DocumentName} MetricName=\"SSMCommandSuccessCount\"','Sum'),SUM,DESC)"
properties = {
view = "timeSeries"
period = 3600
stacked = true
region = "eu-west-2"
title = "SSM command-success-count"
Expand All @@ -798,6 +800,7 @@ locals {
expression = "SORT(SEARCH('{CustomMetrics, DocumentName} MetricName=\"SSMCommandFailedCount\"','Sum'),SUM,DESC)"
properties = {
view = "timeSeries"
period = 3600
stacked = true
region = "eu-west-2"
title = "SSM command-failed-count"
Expand All @@ -815,6 +818,7 @@ locals {
expression = "SORT(SEARCH('{CustomMetrics, DocumentName} MetricName=\"SSMCommandIgnoreCount\"','Sum'),SUM,DESC)"
properties = {
view = "timeSeries"
period = 3600
stacked = true
region = "eu-west-2"
title = "SSM command-ignore-count"
Expand Down

0 comments on commit 97e5a90

Please sign in to comment.