From 575eb6882829e52e1af4a5175a23c080d90b9a6a Mon Sep 17 00:00:00 2001 From: David Henderson Date: Wed, 22 Dec 2021 13:02:52 +0000 Subject: [PATCH] CloudWatch: Add Missing Elasticache Host-level metrics (#43455) Add missing host-level Elasticache metrics from https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheMetrics.HostLevel.html Follows from https://github.com/grafana/grafana/pull/43336#issuecomment-999367311 --- pkg/tsdb/cloudwatch/metrics.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/tsdb/cloudwatch/metrics.go b/pkg/tsdb/cloudwatch/metrics.go index 619a521681a..4ea31bbbc3d 100644 --- a/pkg/tsdb/cloudwatch/metrics.go +++ b/pkg/tsdb/cloudwatch/metrics.go @@ -235,6 +235,8 @@ var metricsMap = map[string][]string{ "BytesWrittenToDisk", "BytesWrittenOutFromMemcached", "CPUUtilization", + "CPUCreditBalance", + "CPUCreditUsage", "CacheHitRate", "CacheHits", "CacheMisses", @@ -289,6 +291,13 @@ var metricsMap = map[string][]string{ "MemoryFragmentationRatio", "NetworkBytesIn", "NetworkBytesOut", + "NetworkPacketsIn", + "NetworkPacketsOut", + "NetworkBandwidthInAllowanceExceeded", + "NetworkBandwidthOutAllowanceExceeded", + "NetworkConntrackAllowanceExceeded", + "NetworkLinkLocalAllowanceExceeded", + "NetworkPacketsPerSecondAllowanceExceeded", "NewConnections", "NewItems", "NumItemsReadFromDisk",