Skip to content

Conversation

@bamarni
Copy link
Contributor

@bamarni bamarni commented Oct 16, 2024

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

@bamarni bamarni changed the title Add sampleCountMetricId to CustomAlarmThreshold [fix] Add sampleCountMetricId to CustomAlarmThreshold Oct 16, 2024
@bamarni bamarni changed the title [fix] Add sampleCountMetricId to CustomAlarmThreshold fix: Add sampleCountMetricId to CustomAlarmThreshold Oct 16, 2024
This provides support for `minSampleCountToEvaluateDatapoint`
when using eg. `ErrorAlarmFactory`.

See cdklabs#466 where the feature was introduced.
@mergify mergify bot merged commit 08e4131 into cdklabs:main Oct 16, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant