MathExpression in Cloudwatch graphs are fixed to a 5min period #7153
Labels
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
When serializing the JSON of MathExpression objects, only the expression is output. If the MathExpression has a period other than 5min (due to being derived, say, from 1m metrics), it gets (incorrectly) rendered with 5min intervals -- because the default period at the graph level is 5min, and the serialized MathExpression doesn't specify one.
Reproduction Steps
(Note 5-min intervals on the datapoints)
Error Log
N/A
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: