cdk-monitoring-constructs icon indicating copy to clipboard operation
cdk-monitoring-constructs copied to clipboard

feat(MetricFactory): add API for creating metrics better handling optional props

Open echeung-amzn opened this issue 6 months ago • 0 comments

These have always been awkward APIs since you had to get the ordering right, and you had to pass in undefined for optional things.

I'll also be adding replacements for createMetricMath, createMetricSearch, and createMetricAnomalyDetection in future separate PRs.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

echeung-amzn avatar Aug 09 '24 14:08 echeung-amzn