X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8b89cd092a7f884d64a6901b4935f3193b69da10..de4127fba40675e6a6e6930d2c3525d14f329463:/cookbooks/prometheus/templates/default/cloudwatch.yml.erb?ds=sidebyside diff --git a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb index cc801c228..2c03efb31 100644 --- a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb +++ b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb @@ -7,7 +7,7 @@ discovery: - eu-west-1 - eu-west-2 roles: - - roleArn: "arn:aws:iam::173189593406:role/osm-cloudwatch-export-role" + - roleArn: "arn:aws:iam::173189593406:role/osm-cloudwatch-export-role" # osm-main period: 300 length: 300 metrics: @@ -58,7 +58,7 @@ discovery: - eu-central-1 - us-west-2 roles: - - roleArn: "arn:aws:iam::630658470130:role/osm-cloudwatch-export-role" + - roleArn: "arn:aws:iam::630658470130:role/osm-cloudwatch-export-role" # osm-planet (pds) period: 300 length: 300 metrics: @@ -108,7 +108,7 @@ discovery: regions: - eu-north-1 roles: - - roleArn: "arn:aws:iam::674083635870:role/osm-cloudwatch-export-role" + - roleArn: "arn:aws:iam::674083635870:role/osm-cloudwatch-export-role" # osm-backup period: 300 length: 300 metrics: @@ -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]