From 1833539c322964ac2ef0b59995515dbcb98da5a3 Mon Sep 17 00:00:00 2001 From: siddhikhapare <81567515+siddhikhapare@users.noreply.github.com> Date: Fri, 8 Dec 2023 20:46:30 +0530 Subject: [PATCH] Cloudwatch: Update error code metrics for ES/OpenSearch (#78990) Update error code metrics --- pkg/tsdb/cloudwatch/constants/metrics.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/tsdb/cloudwatch/constants/metrics.go b/pkg/tsdb/cloudwatch/constants/metrics.go index 0e5f83950749a..7bb996053fc44 100644 --- a/pkg/tsdb/cloudwatch/constants/metrics.go +++ b/pkg/tsdb/cloudwatch/constants/metrics.go @@ -42,7 +42,10 @@ var NamespaceMetricsMap = map[string][]string{ "AWS/EFS": {"BurstCreditBalance", "ClientConnections", "DataReadIOBytes", "DataWriteIOBytes", "MetadataIOBytes", "PercentIOLimit", "PermittedThroughput", "TotalIOBytes", "StorageBytes", "MeteredIOBytes"}, "AWS/ELB": {"BackendConnectionErrors", "EstimatedALBActiveConnectionCount", "EstimatedALBConsumedLCUs", "EstimatedALBNewConnectionCount", "EstimatedProcessedBytes", "HTTPCode_Backend_2XX", "HTTPCode_Backend_3XX", "HTTPCode_Backend_4XX", "HTTPCode_Backend_5XX", "HTTPCode_ELB_4XX", "HTTPCode_ELB_5XX", "HealthyHostCount", "Latency", "RequestCount", "SpilloverCount", "SurgeQueueLength", "UnHealthyHostCount"}, "AWS/ES": { - "2xx, 3xx, 4xx, 5xx", + "2xx", + "3xx", + "4xx", + "5xx", "ADAnomalyDetectorsIndexStatus.red", "ADAnomalyDetectorsIndexStatusIndexExists", "ADAnomalyResultsIndexStatus.red",