cdk-monitoring-constructs
cdk-monitoring-constructs copied to clipboard
feat(MetricFactory): add API for creating metrics better handling optional props
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