Relative Content

Tag Archive for amazon-cloudwatch

How do I display a 0 in a CloudWatch query stats section for a percent calculation

I am trying to do a simple percent display for a page that allows files to be uploaded. I have a log for the start of the file upload and a log for the end of the file upload and I wanted to build a dashboard that would show the percentage of file completions (every matched file upload and download message counts as a completion). I was wanting a simple way to just show a 0 percent for any bin that didn’t have a value in it but apparently that isn’t available. Since I have log messages regularly I figured out how to just fake it using the query below