From 6f44c7f38c8b1e3a827506fe776198bb206d3efb Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 6 Oct 2025 11:38:23 +0100 Subject: [PATCH] prometheus: Fetch additional EC2 cloudwatch metrics --- .../templates/default/cloudwatch.yml.erb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb index 728ef69bb..871f59216 100644 --- a/cookbooks/prometheus/templates/default/cloudwatch.yml.erb +++ b/cookbooks/prometheus/templates/default/cloudwatch.yml.erb @@ -198,6 +198,36 @@ discovery: statistics: [Sum] - name: NetworkPacketsOut statistics: [Sum] + - name: StatusCheckFailed + statistics: [Sum] + - name: StatusCheckFailed_Instance + statistics: [Sum] + - name: StatusCheckFailed_System + statistics: [Sum] + - type: AWS/EBS + regions: + - us-east-2 + roles: + - roleArn: "arn:aws:iam::683740446523:role/osm-cloudwatch-export-role" # osm-render + period: 300 + length: 300 + metrics: + - name: VolumeReadOps + statistics: [Sum] + - name: VolumeWriteOps + statistics: [Sum] + - name: VolumeReadBytes + statistics: [Sum] + - name: VolumeWriteBytes + statistics: [Sum] + - name: VolumeTotalReadTime + statistics: [Sum] + - name: VolumeTotalWriteTime + statistics: [Sum] + - name: VolumeIdleTime + statistics: [Sum] + - name: VolumeQueueLength + statistics: [Average] - type: AWS/Billing regions: - us-east-1 -- 2.39.5