concept
CloudWatch logs, metrics and queries
Metrics summarize; logs preserve event detail. Aggregate counts before division; control cardinality.
Formal Syntax & Structure
aws syntaxaws
error fraction = failures / eligible requestsWorking Example
Example Snippetaws
20 / 1000 = 0.02