Metrics, dimensions and statistics
CloudWatch metrics have a namespace, name, dimensions and timestamped values. Dimensions identify separate series rather than just decorating a graph. Period and statistic affect interpretation: average, sum and percentile answer different questions. Metric units and collection frequency should match the operational decision being made. Latency values 10, 10 and 1000 ms have average 340 ms; a threshold on average may behave differently from a threshold on maximum or a chosen percentile. Metric semantics prevent misleading dashboards and make alarms correspond to the actual user-visible risk rather than an arbitrary plotted number selected because it appears in a default console chart. Summing percentages or interpreting a request count average as a total changes meaning; choose the statistic according to the metric and record period and dimensions explicitly.
Latency values 10, 10 and 1000 ms have average 340 ms; a threshold on average may behave differently from a threshold on maximum or a chosen percentile.
Metric semantics prevent misleading dashboards and make alarms correspond to the actual user-visible risk rather than an arbitrary plotted number selected because it appears in a default console chart.
Summing percentages or interpreting a request count average as a total changes meaning; choose the statistic according to the metric and record period and dimensions explicitly.