|
|
|
@ -28,6 +28,7 @@ var customMetricsDimensionsMap map[string]map[string]map[string]*CustomMetricsCa |
|
|
|
|
|
|
|
|
|
func init() { |
|
|
|
|
metricsMap = map[string][]string{ |
|
|
|
|
"AWS/ApiGateway": {"4XXError", "5XXError", "CacheHitCount", "CacheMissCount", "Count", "IntegrationLatency", "Latency"}, |
|
|
|
|
"AWS/ApplicationELB": {"ActiveConnectionCount", "ClientTLSNegotiationErrorCount", "HealthyHostCount", "HTTPCode_ELB_4XX_Count", "HTTPCode_ELB_5XX_Count", "HTTPCode_Target_2XX_Count", "HTTPCode_Target_3XX_Count", "HTTPCode_Target_4XX_Count", "HTTPCode_Target_5XX_Count", "NewConnectionCount", "ProcessedBytes", "RejectedConnectionCount", "RequestCount", "TargetConnectionErrorCount", "TargetResponseTime", "TargetTLSNegotiationErrorCount", "UnhealthyHostCount"}, |
|
|
|
|
"AWS/AutoScaling": {"GroupMinSize", "GroupMaxSize", "GroupDesiredCapacity", "GroupInServiceInstances", "GroupPendingInstances", "GroupStandbyInstances", "GroupTerminatingInstances", "GroupTotalInstances"}, |
|
|
|
|
"AWS/Billing": {"EstimatedCharges"}, |
|
|
|
@ -87,6 +88,7 @@ func init() { |
|
|
|
|
"AWS/WorkSpaces": {"Available", "Unhealthy", "ConnectionAttempt", "ConnectionSuccess", "ConnectionFailure", "SessionLaunchTime", "InSessionLatency", "SessionDisconnect"}, |
|
|
|
|
} |
|
|
|
|
dimensionsMap = map[string][]string{ |
|
|
|
|
"AWS/ApiGateway": {"ApiName", "Method", "Resource", "Stage"}, |
|
|
|
|
"AWS/ApplicationELB": {"LoadBalancer", "TargetGroup", "AvailabilityZone"}, |
|
|
|
|
"AWS/AutoScaling": {"AutoScalingGroupName"}, |
|
|
|
|
"AWS/Billing": {"ServiceName", "LinkedAccount", "Currency"}, |
|
|
|
|