Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
1c7b76cb
Commit
1c7b76cb
authored
Sep 12, 2016
by
Carl Bergquist
Committed by
GitHub
Sep 12, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6013 from mtanda/cloudwatch_kinesis_analytics
(cloudwatch) add metrics/dimensions
parents
157ab1ba
f998b86a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
+21
-13
pkg/api/cloudwatch/metrics.go
+21
-13
No files found.
pkg/api/cloudwatch/metrics.go
View file @
1c7b76cb
...
...
@@ -67,25 +67,29 @@ func init() {
"CoreNodesRunning"
,
"CoreNodesPending"
,
"LiveDataNodes"
,
"MRTotalNodes"
,
"MRActiveNodes"
,
"MRLostNodes"
,
"MRUnhealthyNodes"
,
"MRDecommissionedNodes"
,
"MRRebootedNodes"
,
"S3BytesWritten"
,
"S3BytesRead"
,
"HDFSUtilization"
,
"HDFSBytesRead"
,
"HDFSBytesWritten"
,
"MissingBlocks"
,
"CorruptBlocks"
,
"TotalLoad"
,
"MemoryTotalMB"
,
"MemoryReservedMB"
,
"MemoryAvailableMB"
,
"MemoryAllocatedMB"
,
"PendingDeletionBlocks"
,
"UnderReplicatedBlocks"
,
"DfsPendingReplicationBlocks"
,
"CapacityRemainingGB"
,
"HbaseBackupFailed"
,
"MostRecentBackupDuration"
,
"TimeSinceLastSuccessfulBackup"
},
"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"
},
"AWS/Events"
:
{
"Invocations"
,
"FailedInvocations"
,
"TriggeredRules"
,
"MatchedEvents"
,
"ThrottledRules"
},
"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"
},
"AWS/Lambda"
:
{
"Invocations"
,
"Errors"
,
"Duration"
,
"Throttles"
},
"AWS/Logs"
:
{
"IncomingBytes"
,
"IncomingLogEvents"
,
"ForwardedBytes"
,
"ForwardedLogEvents"
,
"DeliveryErrors"
,
"DeliveryThrottling"
},
"AWS/ML"
:
{
"PredictCount"
,
"PredictFailureCount"
},
"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"
},
"AWS/Redshift"
:
{
"CPUUtilization"
,
"DatabaseConnections"
,
"HealthStatus"
,
"MaintenanceMode"
,
"NetworkReceiveThroughput"
,
"NetworkTransmitThroughput"
,
"PercentageDiskSpaceUsed"
,
"ReadIOPS"
,
"ReadLatency"
,
"ReadThroughput"
,
"WriteIOPS"
,
"WriteLatency"
,
"WriteThroughput"
},
"AWS/RDS"
:
{
"BinLogDiskUsage"
,
"CPUUtilization"
,
"CPUCreditUsage"
,
"CPUCreditBalance"
,
"DatabaseConnections"
,
"DiskQueueDepth"
,
"FreeableMemory"
,
"FreeStorageSpace"
,
"ReplicaLag"
,
"SwapUsage"
,
"ReadIOPS"
,
"WriteIOPS"
,
"ReadLatency"
,
"WriteLatency"
,
"ReadThroughput"
,
"WriteThroughput"
,
"NetworkReceiveThroughput"
,
"NetworkTransmitThroughput"
},
"AWS/Route53"
:
{
"HealthCheckStatus"
,
"HealthCheckPercentageHealthy"
,
"ConnectionTime"
,
"SSLHandshakeTime"
,
"TimeToFirstByte"
},
"AWS/S3"
:
{
"BucketSizeBytes"
,
"NumberOfObjects"
},
"AWS/SNS"
:
{
"NumberOfMessagesPublished"
,
"PublishSize"
,
"NumberOfNotificationsDelivered"
,
"NumberOfNotificationsFailed"
},
"AWS/SQS"
:
{
"NumberOfMessagesSent"
,
"SentMessageSize"
,
"NumberOfMessagesReceived"
,
"NumberOfEmptyReceives"
,
"NumberOfMessagesDeleted"
,
"ApproximateNumberOfMessagesDelayed"
,
"ApproximateNumberOfMessagesVisible"
,
"ApproximateNumberOfMessagesNotVisible"
},
"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"
},
"AWS/Events"
:
{
"Invocations"
,
"FailedInvocations"
,
"TriggeredRules"
,
"MatchedEvents"
,
"ThrottledRules"
},
"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"
},
"AWS/IoT"
:
{
"PublishIn.Success"
,
"PublishOut.Success"
,
"Subscribe.Success"
,
"Ping.Success"
,
"Connect.Success"
,
"GetThingShadow.Accepted"
},
"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"
},
"AWS/KinesisAnalytics"
:
{
"Bytes"
,
"MillisBehindLatest"
,
"Records"
},
"AWS/Lambda"
:
{
"Invocations"
,
"Errors"
,
"Duration"
,
"Throttles"
},
"AWS/Logs"
:
{
"IncomingBytes"
,
"IncomingLogEvents"
,
"ForwardedBytes"
,
"ForwardedLogEvents"
,
"DeliveryErrors"
,
"DeliveryThrottling"
},
"AWS/ML"
:
{
"PredictCount"
,
"PredictFailureCount"
},
"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"
},
"AWS/Redshift"
:
{
"CPUUtilization"
,
"DatabaseConnections"
,
"HealthStatus"
,
"MaintenanceMode"
,
"NetworkReceiveThroughput"
,
"NetworkTransmitThroughput"
,
"PercentageDiskSpaceUsed"
,
"ReadIOPS"
,
"ReadLatency"
,
"ReadThroughput"
,
"WriteIOPS"
,
"WriteLatency"
,
"WriteThroughput"
},
"AWS/RDS"
:
{
"BinLogDiskUsage"
,
"CPUUtilization"
,
"CPUCreditUsage"
,
"CPUCreditBalance"
,
"DatabaseConnections"
,
"DiskQueueDepth"
,
"FreeableMemory"
,
"FreeStorageSpace"
,
"ReplicaLag"
,
"SwapUsage"
,
"ReadIOPS"
,
"WriteIOPS"
,
"ReadLatency"
,
"WriteLatency"
,
"ReadThroughput"
,
"WriteThroughput"
,
"NetworkReceiveThroughput"
,
"NetworkTransmitThroughput"
},
"AWS/Route53"
:
{
"HealthCheckStatus"
,
"HealthCheckPercentageHealthy"
,
"ConnectionTime"
,
"SSLHandshakeTime"
,
"TimeToFirstByte"
},
"AWS/S3"
:
{
"BucketSizeBytes"
,
"NumberOfObjects"
},
"AWS/SNS"
:
{
"NumberOfMessagesPublished"
,
"PublishSize"
,
"NumberOfNotificationsDelivered"
,
"NumberOfNotificationsFailed"
},
"AWS/SQS"
:
{
"NumberOfMessagesSent"
,
"SentMessageSize"
,
"NumberOfMessagesReceived"
,
"NumberOfEmptyReceives"
,
"NumberOfMessagesDeleted"
,
"ApproximateNumberOfMessagesDelayed"
,
"ApproximateNumberOfMessagesVisible"
,
"ApproximateNumberOfMessagesNotVisible"
},
"AWS/StorageGateway"
:
{
"CacheHitPercent"
,
"CachePercentUsed"
,
"CachePercentDirty"
,
"CloudBytesDownloaded"
,
"CloudDownloadLatency"
,
"CloudBytesUploaded"
,
"UploadBufferFree"
,
"UploadBufferPercentUsed"
,
"UploadBufferUsed"
,
"QueuedWrites"
,
"ReadBytes"
,
"ReadTime"
,
"TotalCacheSize"
,
"WriteBytes"
,
"WriteTime"
,
"TimeSinceLastRecoveryPoint"
,
"WorkingStorageFree"
,
"WorkingStoragePercentUsed"
,
"WorkingStorageUsed"
,
"CacheHitPercent"
,
"CachePercentUsed"
,
"CachePercentDirty"
,
"ReadBytes"
,
"ReadTime"
,
"WriteBytes"
,
"WriteTime"
,
"QueuedWrites"
},
"AWS/SWF"
:
{
"DecisionTaskScheduleToStartTime"
,
"DecisionTaskStartToCloseTime"
,
"DecisionTasksCompleted"
,
"StartedDecisionTasksTimedOutOnClose"
,
"WorkflowStartToCloseTime"
,
"WorkflowsCanceled"
,
"WorkflowsCompleted"
,
"WorkflowsContinuedAsNew"
,
"WorkflowsFailed"
,
"WorkflowsTerminated"
,
"WorkflowsTimedOut"
,
"ActivityTaskScheduleToCloseTime"
,
"ActivityTaskScheduleToStartTime"
,
"ActivityTaskStartToCloseTime"
,
"ActivityTasksCanceled"
,
"ActivityTasksCompleted"
,
"ActivityTasksFailed"
,
"ScheduledActivityTasksTimedOutOnClose"
,
"ScheduledActivityTasksTimedOutOnStart"
,
"StartedActivityTasksTimedOutOnClose"
,
"StartedActivityTasksTimedOutOnHeartbeat"
},
"AWS/WAF"
:
{
"AllowedRequests"
,
"BlockedRequests"
,
"CountedRequests"
},
"AWS/WorkSpaces"
:
{
"Available"
,
"Unhealthy"
,
"ConnectionAttempt"
,
"ConnectionSuccess"
,
"ConnectionFailure"
,
"SessionLaunchTime"
,
"InSessionLatency"
,
"SessionDisconnect"
},
"KMS"
:
{
"SecondsUntilKeyMaterialExpiration"
},
}
dimensionsMap
=
map
[
string
][]
string
{
"AWS/ApiGateway"
:
{
"ApiName"
,
"Method"
,
"Resource"
,
"Stage"
},
...
...
@@ -106,7 +110,10 @@ func init() {
"AWS/ElasticMapReduce"
:
{
"ClusterId"
,
"JobFlowId"
,
"JobId"
},
"AWS/ES"
:
{
"ClientId"
,
"DomainName"
},
"AWS/Events"
:
{
"RuleName"
},
"AWS/Firehose"
:
{},
"AWS/IoT"
:
{
"Protocol"
},
"AWS/Kinesis"
:
{
"StreamName"
,
"ShardID"
},
"AWS/KinesisAnalytics"
:
{
"Flow"
,
"Id"
},
"AWS/Lambda"
:
{
"FunctionName"
,
"Resource"
,
"Version"
,
"Alias"
},
"AWS/Logs"
:
{
"LogGroupName"
,
"DestinationType"
,
"FilterName"
},
"AWS/ML"
:
{
"MLModelId"
,
"RequestMode"
},
...
...
@@ -121,6 +128,7 @@ func init() {
"AWS/SWF"
:
{
"Domain"
,
"WorkflowTypeName"
,
"WorkflowTypeVersion"
,
"ActivityTypeName"
,
"ActivityTypeVersion"
},
"AWS/WAF"
:
{
"Rule"
,
"WebACL"
},
"AWS/WorkSpaces"
:
{
"DirectoryId"
,
"WorkspaceId"
},
"KMS"
:
{
"KeyId"
},
}
customMetricsMetricsMap
=
make
(
map
[
string
]
map
[
string
]
map
[
string
]
*
CustomMetricsCache
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment