Replace the "catch-all" clause we had for debugging
Add code to comply with Cloudwatch's value range.