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
6bd2bb04
Commit
6bd2bb04
authored
Aug 20, 2016
by
Mitsuhiro Tanda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cloudwatch) add api gateway metrics/dimensions
parent
6fae5a3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
pkg/api/cloudwatch/metrics.go
+2
-0
No files found.
pkg/api/cloudwatch/metrics.go
View file @
6bd2bb04
...
...
@@ -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"
},
...
...
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