]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/cloudwatch.yml.erb
Add monitoring for AWS billing metrics
[chef.git] / cookbooks / prometheus / templates / default / cloudwatch.yml.erb
index 1d521ec3052c116af22abc85ab68c4b8168f226d..2c03efb31b80cb08cdc84ec1cfe3b0eeb70936e0 100644 (file)
@@ -180,3 +180,13 @@ discovery:
           statistics: [Sum]
         - name: NetworkPacketsOut
           statistics: [Sum]
+    - type: AWS/Billing
+      regions:
+        - us-east-1
+      roles:
+        - roleArn: "arn:aws:iam::683740446523:role/osm-cloudwatch-export-role" # osm-render
+      period: 300
+      length: 300
+      metrics:
+        - name: EstimatedCharges
+          statistics: [Sum]