Created
October 15, 2019 05:00
-
-
Save wolfeidau/061443b949d67dd506a38de2444fb6a5 to your computer and use it in GitHub Desktop.
APIGW - 500 Errors as Percentage of Total Requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metrics": [ | |
[ { "expression": "(m2/m1)*100", "label": "percentage", "id": "e1", "yAxis": "right" } ], | |
[ "AWS/ApiGateway", "5XXError", "ApiName", "xxx-xxx-xx-xx", { "label": "5xx errors", "id": "m2" } ], | |
[ "...", { "stat": "SampleCount", "label": "total requests", "id": "m1" } ] | |
], | |
"region": "ap-southeast-2", | |
"title": "APIGW - 500 Errors as Percentage of Total Requests", | |
"stat": "Sum", | |
"yAxis": { | |
"left": { | |
"label": "Count", | |
"showUnits": false | |
}, | |
"right": { | |
"min": 0, | |
"max": 100 | |
} | |
}, | |
"view": "timeSeries", | |
"stacked": false, | |
"annotations": { | |
"horizontal": [ | |
{ | |
"label": "goal", | |
"value": 1 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment