Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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_
- Loading branch information