X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/108fca1498a5c37abe997f080865dde7d8f77c3d..6c92319de16d70a02efabb29a4ea2d84e83b8acc:/cookbooks/prometheus/templates/default/cloudwatch.yml.erb diff --git a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb index dbe7e7674..14550314d 100644 --- a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb +++ b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb @@ -45,14 +45,22 @@ discovery: statistics: [Minimum, Maximum, Average] - name: TotalRequestLatency statistics: [Minimum, Maximum, Average] + - name: OperationsFailedReplication + statistics: [Sum] + - type: AWS/S3 + regions: + - eu-north-1 + roles: + - roleArn: "arn:aws:iam::173189593406:role/osm-cloudwatch-export-role" # osm-main + period: 300 + length: 300 + metrics: - name: ReplicationLatency statistics: [Maximum] - name: BytesPendingReplication statistics: [Maximum] - name: OperationsPendingReplication statistics: [Maximum] - - name: OperationsFailedReplication - statistics: [Sum] - type: AWS/S3 regions: - eu-central-1 @@ -146,14 +154,6 @@ discovery: statistics: [Minimum, Maximum, Average] - name: TotalRequestLatency statistics: [Minimum, Maximum, Average] - - name: ReplicationLatency - statistics: [Maximum] - - name: BytesPendingReplication - statistics: [Maximum] - - name: OperationsPendingReplication - statistics: [Maximum] - - name: OperationsFailedReplication - statistics: [Sum] - type: AWS/EC2 regions: - us-east-2 @@ -188,8 +188,8 @@ discovery: - roleArn: "arn:aws:iam::674083635870:role/osm-cloudwatch-export-role" # osm-backup - roleArn: "arn:aws:iam::683740446523:role/osm-cloudwatch-export-role" # osm-render # Note osm-planet is billed direct to AWS Open Data Program - period: 300 - length: 300 + period: 21600 + length: 21600 metrics: - name: EstimatedCharges statistics: [Sum]