Last active
October 14, 2019 06:13
-
-
Save wolfeidau/ebfc8edfeee4edfbede9c0c45d448157 to your computer and use it in GitHub Desktop.
Cloudwatch Dashboard for Appsync which shows 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/AppSync", "5XXError", "GraphQLAPIId", "XXXXX", { "label": "5xx errors", "id": "m2" } ], | |
[ "...", { "stat": "SampleCount", "label": "total requests", "id": "m1" } ] | |
], | |
"region": "ap-southeast-2", | |
"title": "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