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
1e4e2642
Unverified
Commit
1e4e2642
authored
May 25, 2020
by
Sofia Papagiannaki
Committed by
GitHub
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix AWS WAF and AWS DDoSProtection metrics (#25071)
parent
f5a9b23d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pkg/tsdb/cloudwatch/metric_find_query.go
+4
-4
No files found.
pkg/tsdb/cloudwatch/metric_find_query.go
View file @
1e4e2642
...
@@ -51,7 +51,7 @@ var metricsMap = map[string][]string{
...
@@ -51,7 +51,7 @@ var metricsMap = map[string][]string{
"AWS/Cognito"
:
{
"AccountTakeOverRisk"
,
"CompromisedCredentialsRisk"
,
"NoRisk"
,
"OverrideBlock"
,
"Risk"
},
"AWS/Cognito"
:
{
"AccountTakeOverRisk"
,
"CompromisedCredentialsRisk"
,
"NoRisk"
,
"OverrideBlock"
,
"Risk"
},
"AWS/Connect"
:
{
"CallBackNotDialableNumber"
,
"CallRecordingUploadError"
,
"CallsBreachingConcurrencyQuota"
,
"CallsPerInterval"
,
"ConcurrentCalls"
,
"ConcurrentCallsPercentage"
,
"ContactFlowErrors"
,
"ContactFlowFatalErrors"
,
"LongestQueueWaitTime"
,
"MisconfiguredPhoneNumbers"
,
"MissedCalls"
,
"PublicSigningKeyUsage"
,
"QueueCapacityExceededError"
,
"QueueSize"
,
"ThrottledCalls"
,
"ToInstancePacketLossRate"
},
"AWS/Connect"
:
{
"CallBackNotDialableNumber"
,
"CallRecordingUploadError"
,
"CallsBreachingConcurrencyQuota"
,
"CallsPerInterval"
,
"ConcurrentCalls"
,
"ConcurrentCallsPercentage"
,
"ContactFlowErrors"
,
"ContactFlowFatalErrors"
,
"LongestQueueWaitTime"
,
"MisconfiguredPhoneNumbers"
,
"MissedCalls"
,
"PublicSigningKeyUsage"
,
"QueueCapacityExceededError"
,
"QueueSize"
,
"ThrottledCalls"
,
"ToInstancePacketLossRate"
},
"AWS/DataSync"
:
{
"BytesVerifiedSource"
,
"BytesPreparedSource"
,
"FilesVerifiedSource"
,
"FilesPreparedSource"
,
"BytesVerifiedDestination"
,
"BytesPreparedDestination"
,
"FilesVerifiedDestination"
,
"FilesPreparedDestination"
,
"FilesTransferred"
,
"BytesTransferred"
,
"BytesWritten"
},
"AWS/DataSync"
:
{
"BytesVerifiedSource"
,
"BytesPreparedSource"
,
"FilesVerifiedSource"
,
"FilesPreparedSource"
,
"BytesVerifiedDestination"
,
"BytesPreparedDestination"
,
"FilesVerifiedDestination"
,
"FilesPreparedDestination"
,
"FilesTransferred"
,
"BytesTransferred"
,
"BytesWritten"
},
"AWS/DDoSProtection"
:
{
"
AllowedRequests"
,
"BlockedRequests"
,
"CountedRequests"
,
"DDoSAttackBitsPerSecond"
,
"DDoSAttackPacketsPerSecond"
,
"DDoSAttackRequestsPerSecond"
,
"DDoSDetected"
,
"PassedRequests
"
},
"AWS/DDoSProtection"
:
{
"
DDoSDetected"
,
"DDoSAttackBitsPerSecond"
,
"DDoSAttackPacketsPerSecond"
,
"DDoSAttackRequestsPerSecond
"
},
"AWS/DMS"
:
{
"CDCChangesDiskSource"
,
"CDCChangesDiskTarget"
,
"CDCChangesMemorySource"
,
"CDCChangesMemoryTarget"
,
"CDCIncomingChanges"
,
"CDCLatencySource"
,
"CDCLatencyTarget"
,
"CDCThroughputBandwidthSource"
,
"CDCThroughputBandwidthTarget"
,
"CDCThroughputRowsSource"
,
"CDCThroughputRowsTarget"
,
"CPUUtilization"
,
"FreeStorageSpace"
,
"FreeableMemory"
,
"FullLoadThroughputBandwidthSource"
,
"FullLoadThroughputBandwidthTarget"
,
"FullLoadThroughputRowsSource"
,
"FullLoadThroughputRowsTarget"
,
"NetworkReceiveThroughput"
,
"NetworkTransmitThroughput"
,
"ReadIOPS"
,
"ReadLatency"
,
"ReadThroughput"
,
"SwapUsage"
,
"WriteIOPS"
,
"WriteLatency"
,
"WriteThroughput"
},
"AWS/DMS"
:
{
"CDCChangesDiskSource"
,
"CDCChangesDiskTarget"
,
"CDCChangesMemorySource"
,
"CDCChangesMemoryTarget"
,
"CDCIncomingChanges"
,
"CDCLatencySource"
,
"CDCLatencyTarget"
,
"CDCThroughputBandwidthSource"
,
"CDCThroughputBandwidthTarget"
,
"CDCThroughputRowsSource"
,
"CDCThroughputRowsTarget"
,
"CPUUtilization"
,
"FreeStorageSpace"
,
"FreeableMemory"
,
"FullLoadThroughputBandwidthSource"
,
"FullLoadThroughputBandwidthTarget"
,
"FullLoadThroughputRowsSource"
,
"FullLoadThroughputRowsTarget"
,
"NetworkReceiveThroughput"
,
"NetworkTransmitThroughput"
,
"ReadIOPS"
,
"ReadLatency"
,
"ReadThroughput"
,
"SwapUsage"
,
"WriteIOPS"
,
"WriteLatency"
,
"WriteThroughput"
},
"AWS/DocDB"
:
{
"BackupRetentionPeriodStorageUsed"
,
"BufferCacheHitRatio"
,
"ChangeStreamLogSize"
,
"CPUUtilization"
,
"DatabaseConnections"
,
"DBInstanceReplicaLag"
,
"DBClusterReplicaLagMaximum"
,
"DBClusterReplicaLagMinimum"
,
"DiskQueueDepth"
,
"EngineUptime"
,
"FreeableMemory"
,
"FreeLocalStorage"
,
"NetworkReceiveThroughput"
,
"NetworkThroughput"
,
"NetworkTransmitThroughput"
,
"ReadIOPS"
,
"ReadLatency"
,
"ReadThroughput"
,
"SnapshotStorageUsed"
,
"SwapUsage"
,
"TotalBackupStorageBilled"
,
"VolumeBytesUsed"
,
"VolumeReadIOPs"
,
"VolumeWriteIOPs"
,
"WriteIOPS"
,
"WriteLatency"
,
"WriteThroughput"
},
"AWS/DocDB"
:
{
"BackupRetentionPeriodStorageUsed"
,
"BufferCacheHitRatio"
,
"ChangeStreamLogSize"
,
"CPUUtilization"
,
"DatabaseConnections"
,
"DBInstanceReplicaLag"
,
"DBClusterReplicaLagMaximum"
,
"DBClusterReplicaLagMinimum"
,
"DiskQueueDepth"
,
"EngineUptime"
,
"FreeableMemory"
,
"FreeLocalStorage"
,
"NetworkReceiveThroughput"
,
"NetworkThroughput"
,
"NetworkTransmitThroughput"
,
"ReadIOPS"
,
"ReadLatency"
,
"ReadThroughput"
,
"SnapshotStorageUsed"
,
"SwapUsage"
,
"TotalBackupStorageBilled"
,
"VolumeBytesUsed"
,
"VolumeReadIOPs"
,
"VolumeWriteIOPs"
,
"WriteIOPS"
,
"WriteLatency"
,
"WriteThroughput"
},
"AWS/DX"
:
{
"ConnectionBpsEgress"
,
"ConnectionBpsIngress"
,
"ConnectionCRCErrorCount"
,
"ConnectionLightLevelRx"
,
"ConnectionLightLevelTx"
,
"ConnectionPpsEgress"
,
"ConnectionPpsIngress"
,
"ConnectionState"
},
"AWS/DX"
:
{
"ConnectionBpsEgress"
,
"ConnectionBpsIngress"
,
"ConnectionCRCErrorCount"
,
"ConnectionLightLevelRx"
,
"ConnectionLightLevelTx"
,
"ConnectionPpsEgress"
,
"ConnectionPpsIngress"
,
"ConnectionState"
},
...
@@ -115,11 +115,11 @@ var metricsMap = map[string][]string{
...
@@ -115,11 +115,11 @@ var metricsMap = map[string][]string{
"AWS/TrustedAdvisor"
:
{
"GreenChecks"
,
"RedChecks"
,
"RedResources"
,
"ServiceLimitUsage"
,
"YellowChecks"
,
"YellowResources"
},
"AWS/TrustedAdvisor"
:
{
"GreenChecks"
,
"RedChecks"
,
"RedResources"
,
"ServiceLimitUsage"
,
"YellowChecks"
,
"YellowResources"
},
"AWS/Usage"
:
{
"CallCount"
},
"AWS/Usage"
:
{
"CallCount"
},
"AWS/VPN"
:
{
"TunnelDataIn"
,
"TunnelDataOut"
,
"TunnelState"
},
"AWS/VPN"
:
{
"TunnelDataIn"
,
"TunnelDataOut"
,
"TunnelState"
},
"AWS/WAF"
:
{
"AllowedRequests"
,
"BlockedRequests"
,
"CountedRequests"
,
"PassedRequests"
},
"AWS/WorkSpaces"
:
{
"Available"
,
"ConnectionAttempt"
,
"ConnectionFailure"
,
"ConnectionSuccess"
,
"InSessionLatency"
,
"Maintenance"
,
"SessionDisconnect"
,
"SessionLaunchTime"
,
"Stopped"
,
"Unhealthy"
,
"UserConnected"
},
"AWS/WorkSpaces"
:
{
"Available"
,
"ConnectionAttempt"
,
"ConnectionFailure"
,
"ConnectionSuccess"
,
"InSessionLatency"
,
"Maintenance"
,
"SessionDisconnect"
,
"SessionLaunchTime"
,
"Stopped"
,
"Unhealthy"
,
"UserConnected"
},
"ECS/ContainerInsights"
:
{
"ContainerInstanceCount"
,
"CpuUtilized"
,
"CpuReserved"
,
"DeploymentCount"
,
"DesiredTaskCount"
,
"MemoryUtilized"
,
"MemoryReserved"
,
"NetworkRxBytes"
,
"NetworkTxBytes"
,
"PendingTaskCount"
,
"RunningTaskCount"
,
"ServiceCount"
,
"StorageReadBytes"
,
"StorageWriteBytes"
,
"TaskCount"
,
"TaskSetCount"
,
"instance_cpu_limit"
,
"instance_cpu_reserved_capacity"
,
"instance_cpu_usage_total"
,
"instance_cpu_utilization"
,
"instance_filesystem_utilization"
,
"instance_memory_limit"
,
"instance_memory_reserved_capacity"
,
"instance_memory_utliization"
,
"instance_memory_working_set"
,
"instance_network_total_bytes"
,
"instance_number_of_running_tasks"
},
"ECS/ContainerInsights"
:
{
"ContainerInstanceCount"
,
"CpuUtilized"
,
"CpuReserved"
,
"DeploymentCount"
,
"DesiredTaskCount"
,
"MemoryUtilized"
,
"MemoryReserved"
,
"NetworkRxBytes"
,
"NetworkTxBytes"
,
"PendingTaskCount"
,
"RunningTaskCount"
,
"ServiceCount"
,
"StorageReadBytes"
,
"StorageWriteBytes"
,
"TaskCount"
,
"TaskSetCount"
,
"instance_cpu_limit"
,
"instance_cpu_reserved_capacity"
,
"instance_cpu_usage_total"
,
"instance_cpu_utilization"
,
"instance_filesystem_utilization"
,
"instance_memory_limit"
,
"instance_memory_reserved_capacity"
,
"instance_memory_utliization"
,
"instance_memory_working_set"
,
"instance_network_total_bytes"
,
"instance_number_of_running_tasks"
},
"ContainerInsights"
:
{
"cluster_failed_node_count"
,
"cluster_node_count"
,
"namespace_number_of_running_pods"
,
"node_cpu_limit"
,
"node_cpu_reserved_capacity"
,
"node_cpu_usage_total"
,
"node_cpu_utilization"
,
"node_filesystem_utilization"
,
"node_memory_limit"
,
"node_memory_reserved_capacity"
,
"node_memory_utilization"
,
"node_memory_working_set"
,
"node_network_total_bytes"
,
"node_number_of_running_containers"
,
"node_number_of_running_pods"
,
"pod_cpu_reserved_capacity"
,
"pod_cpu_utilization"
,
"pod_cpu_utilization_over_pod_limit"
,
"pod_memory_reserved_capacity"
,
"pod_memory_utilization"
,
"pod_memory_utilization_over_pod_limit"
,
"pod_number_of_container_restarts"
,
"pod_network_rx_bytes"
,
"pod_network_tx_bytes"
,
"service_number_of_running_pods"
},
"ContainerInsights"
:
{
"cluster_failed_node_count"
,
"cluster_node_count"
,
"namespace_number_of_running_pods"
,
"node_cpu_limit"
,
"node_cpu_reserved_capacity"
,
"node_cpu_usage_total"
,
"node_cpu_utilization"
,
"node_filesystem_utilization"
,
"node_memory_limit"
,
"node_memory_reserved_capacity"
,
"node_memory_utilization"
,
"node_memory_working_set"
,
"node_network_total_bytes"
,
"node_number_of_running_containers"
,
"node_number_of_running_pods"
,
"pod_cpu_reserved_capacity"
,
"pod_cpu_utilization"
,
"pod_cpu_utilization_over_pod_limit"
,
"pod_memory_reserved_capacity"
,
"pod_memory_utilization"
,
"pod_memory_utilization_over_pod_limit"
,
"pod_number_of_container_restarts"
,
"pod_network_rx_bytes"
,
"pod_network_tx_bytes"
,
"service_number_of_running_pods"
},
"Rekognition"
:
{
"DetectedFaceCount"
,
"DetectedLabelCount"
,
"ResponseTime"
,
"ServerErrorCount"
,
"SuccessfulRequestCount"
,
"ThrottledCount"
,
"UserErrorCount"
},
"Rekognition"
:
{
"DetectedFaceCount"
,
"DetectedLabelCount"
,
"ResponseTime"
,
"ServerErrorCount"
,
"SuccessfulRequestCount"
,
"ThrottledCount"
,
"UserErrorCount"
},
"WAF"
:
{
"AllowedRequests"
,
"BlockedRequests"
,
"CountedRequests"
,
"DDoSAttackBitsPerSecond"
,
"DDoSAttackPacketsPerSecond"
,
"DDoSAttackRequestsPerSecond"
,
"DDoSDetected"
,
"PassedRequests"
},
"AWS/Cassandra"
:
{
"AccountMaxReads"
,
"AccountMaxTableLevelReads"
,
"AccountMaxTableLevelWrites"
,
"AccountMaxWrites"
,
"AccountProvisionedReadCapacityUtilization"
,
"AccountProvisionedWriteCapacityUtilization"
,
"ConditionalCheckFailedRequests"
,
"ConsumedReadCapacityUnits"
,
"ConsumedWriteCapacityUnits"
,
"MaxProvisionedTableReadCapacityUtilization"
,
"MaxProvisionedTableWriteCapacityUtilization"
,
"ReturnedItemCount"
,
"ReturnedItemCountBySelect"
,
"SuccessfulRequestCount"
,
"SuccessfulRequestLatency"
,
"SystemErrors"
,
"UserErrors"
},
"AWS/Cassandra"
:
{
"AccountMaxReads"
,
"AccountMaxTableLevelReads"
,
"AccountMaxTableLevelWrites"
,
"AccountMaxWrites"
,
"AccountProvisionedReadCapacityUtilization"
,
"AccountProvisionedWriteCapacityUtilization"
,
"ConditionalCheckFailedRequests"
,
"ConsumedReadCapacityUnits"
,
"ConsumedWriteCapacityUnits"
,
"MaxProvisionedTableReadCapacityUtilization"
,
"MaxProvisionedTableWriteCapacityUtilization"
,
"ReturnedItemCount"
,
"ReturnedItemCountBySelect"
,
"SuccessfulRequestCount"
,
"SuccessfulRequestLatency"
,
"SystemErrors"
,
"UserErrors"
},
}
}
...
@@ -140,7 +140,7 @@ var dimensionsMap = map[string][]string{
...
@@ -140,7 +140,7 @@ var dimensionsMap = map[string][]string{
"AWS/Cognito"
:
{
"Operation"
,
"RiskLevel"
,
"UserPoolId"
},
"AWS/Cognito"
:
{
"Operation"
,
"RiskLevel"
,
"UserPoolId"
},
"AWS/Connect"
:
{
"InstanceId"
,
"MetricGroup"
,
"Participant"
,
"QueueName"
,
"Stream Type"
,
"Type of Connection"
},
"AWS/Connect"
:
{
"InstanceId"
,
"MetricGroup"
,
"Participant"
,
"QueueName"
,
"Stream Type"
,
"Type of Connection"
},
"AWS/DataSync"
:
{
"AgentId"
,
"TaskId"
},
"AWS/DataSync"
:
{
"AgentId"
,
"TaskId"
},
"AWS/DDoSProtection"
:
{
"
Region"
,
"Rule"
,
"RuleGroup"
,
"WebACL
"
},
"AWS/DDoSProtection"
:
{
"
ACKFlood"
,
"ChargenReflection"
,
"DNSReflection"
,
"GenericUDPReflection"
,
"MemcachedReflection"
,
"MSSQLReflection"
,
"NetBIOSReflection"
,
"NTPReflection"
,
"PortMapper"
,
"RequestFlood"
,
"RIPReflection"
,
"SNMPReflection"
,
"SSDPReflection"
,
"SYNFlood"
,
"UDPFragment"
,
"UDPTraffic"
,
"UDPReflection
"
},
"AWS/DMS"
:
{
"ReplicationInstanceIdentifier"
,
"ReplicationTaskIdentifier"
},
"AWS/DMS"
:
{
"ReplicationInstanceIdentifier"
,
"ReplicationTaskIdentifier"
},
"AWS/DocDB"
:
{
"DBClusterIdentifier"
,
"DBInstanceIdentifier"
,
"Role"
},
"AWS/DocDB"
:
{
"DBClusterIdentifier"
,
"DBInstanceIdentifier"
,
"Role"
},
"AWS/DX"
:
{
"ConnectionId"
},
"AWS/DX"
:
{
"ConnectionId"
},
...
@@ -204,11 +204,11 @@ var dimensionsMap = map[string][]string{
...
@@ -204,11 +204,11 @@ var dimensionsMap = map[string][]string{
"AWS/TrustedAdvisor"
:
{},
"AWS/TrustedAdvisor"
:
{},
"AWS/Usage"
:
{
"Class"
,
"Resource"
,
"Service"
,
"Type"
},
"AWS/Usage"
:
{
"Class"
,
"Resource"
,
"Service"
,
"Type"
},
"AWS/VPN"
:
{
"TunnelIpAddress"
,
"VpnId"
},
"AWS/VPN"
:
{
"TunnelIpAddress"
,
"VpnId"
},
"AWS/WAF"
:
{
"Region"
,
"Rule"
,
"RuleGroup"
,
"WebACL"
},
"AWS/WorkSpaces"
:
{
"DirectoryId"
,
"WorkspaceId"
},
"AWS/WorkSpaces"
:
{
"DirectoryId"
,
"WorkspaceId"
},
"ECS/ContainerInsights"
:
{
"ClusterName"
,
"ServiceName"
,
"TaskDefinitionFamily"
,
"EC2InstanceId"
,
"ContainerInstanceId"
},
"ECS/ContainerInsights"
:
{
"ClusterName"
,
"ServiceName"
,
"TaskDefinitionFamily"
,
"EC2InstanceId"
,
"ContainerInstanceId"
},
"ContainerInsights"
:
{
"ClusterName"
,
"NodeName"
,
"Namespace"
,
"InstanceId"
,
"PodName"
,
"Service"
},
"ContainerInsights"
:
{
"ClusterName"
,
"NodeName"
,
"Namespace"
,
"InstanceId"
,
"PodName"
,
"Service"
},
"Rekognition"
:
{},
"Rekognition"
:
{},
"WAF"
:
{
"Region"
,
"Rule"
,
"RuleGroup"
,
"WebACL"
},
"AWS/Cassandra"
:
{
"Keyspace"
,
"Operation"
,
"TableName"
},
"AWS/Cassandra"
:
{
"Keyspace"
,
"Operation"
,
"TableName"
},
}
}
...
...
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