@@ -67,25 +67,29 @@ func init() {
67
67
"CoreNodesRunning" , "CoreNodesPending" , "LiveDataNodes" , "MRTotalNodes" , "MRActiveNodes" , "MRLostNodes" , "MRUnhealthyNodes" , "MRDecommissionedNodes" , "MRRebootedNodes" ,
68
68
"S3BytesWritten" , "S3BytesRead" , "HDFSUtilization" , "HDFSBytesRead" , "HDFSBytesWritten" , "MissingBlocks" , "CorruptBlocks" , "TotalLoad" , "MemoryTotalMB" , "MemoryReservedMB" , "MemoryAvailableMB" , "MemoryAllocatedMB" , "PendingDeletionBlocks" , "UnderReplicatedBlocks" , "DfsPendingReplicationBlocks" , "CapacityRemainingGB" ,
69
69
"HbaseBackupFailed" , "MostRecentBackupDuration" , "TimeSinceLastSuccessfulBackup" },
70
- "AWS/ES" : {"ClusterStatus.green" , "ClusterStatus.yellow" , "ClusterStatus.red" , "Nodes" , "SearchableDocuments" , "DeletedDocuments" , "CPUUtilization" , "FreeStorageSpace" , "JVMMemoryPressure" , "AutomatedSnapshotFailure" , "MasterCPUUtilization" , "MasterFreeStorageSpace" , "MasterJVMMemoryPressure" , "ReadLatency" , "WriteLatency" , "ReadThroughput" , "WriteThroughput" , "DiskQueueLength" , "ReadIOPS" , "WriteIOPS" },
71
- "AWS/Events" : {"Invocations" , "FailedInvocations" , "TriggeredRules" , "MatchedEvents" , "ThrottledRules" },
72
- "AWS/Kinesis" : {"GetRecords.Bytes" , "GetRecords.IteratorAge" , "GetRecords.IteratorAgeMilliseconds" , "GetRecords.Latency" , "GetRecords.Records" , "GetRecords.Success" , "IncomingBytes" , "IncomingRecords" , "PutRecord.Bytes" , "PutRecord.Latency" , "PutRecord.Success" , "PutRecords.Bytes" , "PutRecords.Latency" , "PutRecords.Records" , "PutRecords.Success" , "ReadProvisionedThroughputExceeded" , "WriteProvisionedThroughputExceeded" , "IteratorAgeMilliseconds" , "OutgoingBytes" , "OutgoingRecords" },
73
- "AWS/Lambda" : {"Invocations" , "Errors" , "Duration" , "Throttles" },
74
- "AWS/Logs" : {"IncomingBytes" , "IncomingLogEvents" , "ForwardedBytes" , "ForwardedLogEvents" , "DeliveryErrors" , "DeliveryThrottling" },
75
- "AWS/ML" : {"PredictCount" , "PredictFailureCount" },
76
- "AWS/OpsWorks" : {"cpu_idle" , "cpu_nice" , "cpu_system" , "cpu_user" , "cpu_waitio" , "load_1" , "load_5" , "load_15" , "memory_buffers" , "memory_cached" , "memory_free" , "memory_swap" , "memory_total" , "memory_used" , "procs" },
77
- "AWS/Redshift" : {"CPUUtilization" , "DatabaseConnections" , "HealthStatus" , "MaintenanceMode" , "NetworkReceiveThroughput" , "NetworkTransmitThroughput" , "PercentageDiskSpaceUsed" , "ReadIOPS" , "ReadLatency" , "ReadThroughput" , "WriteIOPS" , "WriteLatency" , "WriteThroughput" },
78
- "AWS/RDS" : {"BinLogDiskUsage" , "CPUUtilization" , "CPUCreditUsage" , "CPUCreditBalance" , "DatabaseConnections" , "DiskQueueDepth" , "FreeableMemory" , "FreeStorageSpace" , "ReplicaLag" , "SwapUsage" , "ReadIOPS" , "WriteIOPS" , "ReadLatency" , "WriteLatency" , "ReadThroughput" , "WriteThroughput" , "NetworkReceiveThroughput" , "NetworkTransmitThroughput" },
79
- "AWS/Route53" : {"HealthCheckStatus" , "HealthCheckPercentageHealthy" , "ConnectionTime" , "SSLHandshakeTime" , "TimeToFirstByte" },
80
- "AWS/S3" : {"BucketSizeBytes" , "NumberOfObjects" },
81
- "AWS/SNS" : {"NumberOfMessagesPublished" , "PublishSize" , "NumberOfNotificationsDelivered" , "NumberOfNotificationsFailed" },
82
- "AWS/SQS" : {"NumberOfMessagesSent" , "SentMessageSize" , "NumberOfMessagesReceived" , "NumberOfEmptyReceives" , "NumberOfMessagesDeleted" , "ApproximateNumberOfMessagesDelayed" , "ApproximateNumberOfMessagesVisible" , "ApproximateNumberOfMessagesNotVisible" },
70
+ "AWS/ES" : {"ClusterStatus.green" , "ClusterStatus.yellow" , "ClusterStatus.red" , "Nodes" , "SearchableDocuments" , "DeletedDocuments" , "CPUUtilization" , "FreeStorageSpace" , "JVMMemoryPressure" , "AutomatedSnapshotFailure" , "MasterCPUUtilization" , "MasterFreeStorageSpace" , "MasterJVMMemoryPressure" , "ReadLatency" , "WriteLatency" , "ReadThroughput" , "WriteThroughput" , "DiskQueueLength" , "ReadIOPS" , "WriteIOPS" },
71
+ "AWS/Events" : {"Invocations" , "FailedInvocations" , "TriggeredRules" , "MatchedEvents" , "ThrottledRules" },
72
+ "AWS/Firehose" : {"DeliveryToElasticsearch.Bytes" , "DeliveryToElasticsearch.Records" , "DeliveryToElasticsearch.Success" , "DeliveryToRedshift.Bytes" , "DeliveryToRedshift.Records" , "DeliveryToRedshift.Success" , "DeliveryToS3.Bytes" , "DeliveryToS3.DataFreshness" , "DeliveryToS3.Records" , "DeliveryToS3.Success" , "IncomingBytes" , "IncomingRecords" , "DescribeDeliveryStream.Latency" , "DescribeDeliveryStream.Requests" , "ListDeliveryStreams.Latency" , "ListDeliveryStreams.Requests" , "PutRecord.Bytes" , "PutRecord.Latency" , "PutRecord.Requests" , "PutRecordBatch.Bytes" , "PutRecordBatch.Latency" , "PutRecordBatch.Records" , "PutRecordBatch.Requests" , "UpdateDeliveryStream.Latency" , "UpdateDeliveryStream.Requests" },
73
+ "AWS/IoT" : {"PublishIn.Success" , "PublishOut.Success" , "Subscribe.Success" , "Ping.Success" , "Connect.Success" , "GetThingShadow.Accepted" },
74
+ "AWS/Kinesis" : {"GetRecords.Bytes" , "GetRecords.IteratorAge" , "GetRecords.IteratorAgeMilliseconds" , "GetRecords.Latency" , "GetRecords.Records" , "GetRecords.Success" , "IncomingBytes" , "IncomingRecords" , "PutRecord.Bytes" , "PutRecord.Latency" , "PutRecord.Success" , "PutRecords.Bytes" , "PutRecords.Latency" , "PutRecords.Records" , "PutRecords.Success" , "ReadProvisionedThroughputExceeded" , "WriteProvisionedThroughputExceeded" , "IteratorAgeMilliseconds" , "OutgoingBytes" , "OutgoingRecords" },
75
+ "AWS/KinesisAnalytics" : {"Bytes" , "MillisBehindLatest" , "Records" , "Success" },
76
+ "AWS/Lambda" : {"Invocations" , "Errors" , "Duration" , "Throttles" },
77
+ "AWS/Logs" : {"IncomingBytes" , "IncomingLogEvents" , "ForwardedBytes" , "ForwardedLogEvents" , "DeliveryErrors" , "DeliveryThrottling" },
78
+ "AWS/ML" : {"PredictCount" , "PredictFailureCount" },
79
+ "AWS/OpsWorks" : {"cpu_idle" , "cpu_nice" , "cpu_system" , "cpu_user" , "cpu_waitio" , "load_1" , "load_5" , "load_15" , "memory_buffers" , "memory_cached" , "memory_free" , "memory_swap" , "memory_total" , "memory_used" , "procs" },
80
+ "AWS/Redshift" : {"CPUUtilization" , "DatabaseConnections" , "HealthStatus" , "MaintenanceMode" , "NetworkReceiveThroughput" , "NetworkTransmitThroughput" , "PercentageDiskSpaceUsed" , "ReadIOPS" , "ReadLatency" , "ReadThroughput" , "WriteIOPS" , "WriteLatency" , "WriteThroughput" },
81
+ "AWS/RDS" : {"BinLogDiskUsage" , "CPUUtilization" , "CPUCreditUsage" , "CPUCreditBalance" , "DatabaseConnections" , "DiskQueueDepth" , "FreeableMemory" , "FreeStorageSpace" , "ReplicaLag" , "SwapUsage" , "ReadIOPS" , "WriteIOPS" , "ReadLatency" , "WriteLatency" , "ReadThroughput" , "WriteThroughput" , "NetworkReceiveThroughput" , "NetworkTransmitThroughput" },
82
+ "AWS/Route53" : {"HealthCheckStatus" , "HealthCheckPercentageHealthy" , "ConnectionTime" , "SSLHandshakeTime" , "TimeToFirstByte" },
83
+ "AWS/S3" : {"BucketSizeBytes" , "NumberOfObjects" },
84
+ "AWS/SNS" : {"NumberOfMessagesPublished" , "PublishSize" , "NumberOfNotificationsDelivered" , "NumberOfNotificationsFailed" },
85
+ "AWS/SQS" : {"NumberOfMessagesSent" , "SentMessageSize" , "NumberOfMessagesReceived" , "NumberOfEmptyReceives" , "NumberOfMessagesDeleted" , "ApproximateNumberOfMessagesDelayed" , "ApproximateNumberOfMessagesVisible" , "ApproximateNumberOfMessagesNotVisible" },
83
86
"AWS/StorageGateway" : {"CacheHitPercent" , "CachePercentUsed" , "CachePercentDirty" , "CloudBytesDownloaded" , "CloudDownloadLatency" , "CloudBytesUploaded" , "UploadBufferFree" , "UploadBufferPercentUsed" , "UploadBufferUsed" , "QueuedWrites" , "ReadBytes" , "ReadTime" , "TotalCacheSize" , "WriteBytes" , "WriteTime" , "TimeSinceLastRecoveryPoint" , "WorkingStorageFree" , "WorkingStoragePercentUsed" , "WorkingStorageUsed" ,
84
87
"CacheHitPercent" , "CachePercentUsed" , "CachePercentDirty" , "ReadBytes" , "ReadTime" , "WriteBytes" , "WriteTime" , "QueuedWrites" },
85
88
"AWS/SWF" : {"DecisionTaskScheduleToStartTime" , "DecisionTaskStartToCloseTime" , "DecisionTasksCompleted" , "StartedDecisionTasksTimedOutOnClose" , "WorkflowStartToCloseTime" , "WorkflowsCanceled" , "WorkflowsCompleted" , "WorkflowsContinuedAsNew" , "WorkflowsFailed" , "WorkflowsTerminated" , "WorkflowsTimedOut" ,
86
89
"ActivityTaskScheduleToCloseTime" , "ActivityTaskScheduleToStartTime" , "ActivityTaskStartToCloseTime" , "ActivityTasksCanceled" , "ActivityTasksCompleted" , "ActivityTasksFailed" , "ScheduledActivityTasksTimedOutOnClose" , "ScheduledActivityTasksTimedOutOnStart" , "StartedActivityTasksTimedOutOnClose" , "StartedActivityTasksTimedOutOnHeartbeat" },
87
90
"AWS/WAF" : {"AllowedRequests" , "BlockedRequests" , "CountedRequests" },
88
91
"AWS/WorkSpaces" : {"Available" , "Unhealthy" , "ConnectionAttempt" , "ConnectionSuccess" , "ConnectionFailure" , "SessionLaunchTime" , "InSessionLatency" , "SessionDisconnect" },
92
+ "KMS" : {"SecondsUntilKeyMaterialExpiration" },
89
93
}
90
94
dimensionsMap = map [string ][]string {
91
95
"AWS/ApiGateway" : {"ApiName" , "Method" , "Resource" , "Stage" },
@@ -106,7 +110,10 @@ func init() {
106
110
"AWS/ElasticMapReduce" : {"ClusterId" , "JobFlowId" , "JobId" },
107
111
"AWS/ES" : {"ClientId" , "DomainName" },
108
112
"AWS/Events" : {"RuleName" },
113
+ "AWS/Firehose" : {},
114
+ "AWS/IoT" : {"Protocol" },
109
115
"AWS/Kinesis" : {"StreamName" , "ShardID" },
116
+ "AWS/KinesisAnalytics" : {"Flow" , "Id" , "Application" },
110
117
"AWS/Lambda" : {"FunctionName" , "Resource" , "Version" , "Alias" },
111
118
"AWS/Logs" : {"LogGroupName" , "DestinationType" , "FilterName" },
112
119
"AWS/ML" : {"MLModelId" , "RequestMode" },
@@ -121,6 +128,7 @@ func init() {
121
128
"AWS/SWF" : {"Domain" , "WorkflowTypeName" , "WorkflowTypeVersion" , "ActivityTypeName" , "ActivityTypeVersion" },
122
129
"AWS/WAF" : {"Rule" , "WebACL" },
123
130
"AWS/WorkSpaces" : {"DirectoryId" , "WorkspaceId" },
131
+ "KMS" : {"KeyId" },
124
132
}
125
133
126
134
customMetricsMetricsMap = make (map [string ]map [string ]map [string ]* CustomMetricsCache )
0 commit comments