X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3d7c0e60abe0808fb82da2009e8f92963b992369..de4127fba40675e6a6e6930d2c3525d14f329463:/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 810186e07..2c03efb31 100644 --- a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb +++ b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb @@ -154,3 +154,39 @@ discovery: statistics: [Maximum] - name: OperationsFailedReplication statistics: [Sum] + - type: AWS/EC2 + regions: + - us-east-2 + roles: + - roleArn: "arn:aws:iam::683740446523:role/osm-cloudwatch-export-role" # osm-render + period: 300 + length: 300 + metrics: + - name: CPUUtilization + statistics: [Average] + - name: DiskReadOps + statistics: [Sum] + - name: DiskWriteOps + statistics: [Sum] + - name: DiskReadBytes + statistics: [Sum] + - name: DiskWriteBytes + statistics: [Sum] + - name: NetworkIn + statistics: [Sum] + - name: NetworkOut + statistics: [Sum] + - name: NetworkPacketsIn + 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]