Skip to content

Commit 08e4131

Browse files
authored
fix: Add sampleCountMetricId to CustomAlarmThreshold (#581)
This provides support for `minSampleCountToEvaluateDatapoint` when using eg. `ErrorAlarmFactory`. Without this change and with a `MathExpression` containing multiple metrics, one would get the following error: > "sampleCountMetricId must be specified when using minSampleCountToEvaluateDatapoint with a multiple-metric MathExpression" However `sampleCountMetricId` is currently not available in `CustomAlarmThreshold`. See #466 for original change. --- _By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
1 parent 9279cec commit 08e4131

File tree

2 files changed

+1002
-0
lines changed

2 files changed

+1002
-0
lines changed

0 commit comments

Comments
 (0)