From 262af440704e20199c6e5218792b2018eb2f1c58 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 4 Aug 2026 19:16:09 +0100 Subject: [PATCH] prometheus: scrape cloudwatch wal-prod-replication metrics --- .../templates/default/cloudwatch.yml.erb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb index 45a30140f..f9c480a0e 100644 --- a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb +++ b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb @@ -464,3 +464,29 @@ static: statistics: [Maximum] period: 300 length: 300 + - namespace: AWS/S3 + name: wal-prod-replication + regions: + - eu-west-1 + roles: + - roleArn: "arn:aws:iam::905542449881:role/osm-cloudwatch-export-role" # osm-recovery + dimensions: + - name: RuleId + value: full-bucket-replication + - name: SourceBucket + value: openstreetmap-wal-prod-85d400 + - name: DestinationBucket + value: openstreetmap-wal-prod-85d400-replicate + metrics: + - name: ReplicationLatency + statistics: [Maximum] + period: 300 + length: 300 + - name: BytesPendingReplication + statistics: [Maximum] + period: 300 + length: 300 + - name: OperationsPendingReplication + statistics: [Maximum] + period: 300 + length: 300 -- 2.47.3