Created
October 14, 2019 05:48
-
-
Save wolfeidau/c1015103ddc175a55e7a8f026d70a08a to your computer and use it in GitHub Desktop.
Cloudwatch Dashboard for Appsync 400 Requests as a 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", "4XXError", "GraphQLAPIId", "XXXXXXXX", { "label": "4xx errors", "id": "m2" } ], | |
[ "...", { "stat": "SampleCount", "label": "total requests", "id": "m1" } ], | |
[ ".", "5XXError", ".", ".", { "label": "5xx errors", "id": "m3", "visible": false } ] | |
], | |
"region": "ap-southeast-2", | |
"title": "Errors", | |
"stat": "Sum", | |
"yAxis": { | |
"left": { | |
"label": "Count", | |
"showUnits": false | |
} | |
}, | |
"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