From be1740f62e0ee94c7a4b238b9d5c11cf9858aca9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 11 Oct 2023 00:56:15 +0100 Subject: [PATCH] Increase period for daily S3 metrics --- cookbooks/prometheus/templates/default/cloudwatch.yml.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb index 73659af7c..43eb9e3ae 100644 --- a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb +++ b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb @@ -12,8 +12,12 @@ discovery: metrics: - name: BucketSizeBytes statistics: [Average] + period: 86400 + length: 86400 - name: NumberOfObjects statistics: [Average] + period: 86400 + length: 86400 - name: AllRequests statistics: [Sum] - name: GetRequests -- 2.39.5