我有一个基于DynamoDB指标WriteThrottleEvents的CloudWatch警报。9月份有一个节流数据点,导致警报进入警报状态,但是从那时起就没有其他节流数据点,但警报仍然处于警报状态。警报之前将“处理丢失的数据”设置为ignore (这最初解释了为什么它停留在警报状态),但是我现在将其更改为missing,但是警报仍然处于警报状态,尽管没有数据点。为什么没有将状态更改为‘数据不足’?

{
"MetricAlarms": [
{
"AlarmName": "WriteThrottleEvents_Alarm",
"AlarmArn": "******************",
"AlarmConfigurationUpdatedTimestamp": "2021-02-25T20:07:44.960000+00:00",
"ActionsEnabled": true,
"OKActions": [],
"AlarmActions": ["******************"],
"InsufficientDataActions": [],
"StateValue": "ALARM",
"StateReason": "Threshold Crossed: 1 out of the last 1 datapoints [1.0 (22/09/20 18:21:00)] was greater than or equal to the threshold (1.0) (minimum 1 datapoint for OK -> ALARM transition).",
"StateReasonData": "{\"version\":\"1.0\",\"queryDate\":\"2020-09-22T18:22:44.912+0000\",\"startDate\":\"2020-09-22T18:21:00.000+0000\",\"unit\":\"Count\",\"statistic\":\"Average\",\"period\":60,\"recentDatapoints\":[1.0],\"threshold\":1.0}",
"StateUpdatedTimestamp": "2020-09-22T18:22:44.915000+00:00",
"MetricName": "WriteThrottleEvents",
"Namespace": "AWS/DynamoDB",
"Statistic": "Average",
"Dimensions": [
{
"Name": "TableName",
"Value": "table-one"
}
],
"Period": 60,
"Unit": "Count",
"EvaluationPeriods": 1,
"DatapointsToAlarm": 1,
"Threshold": 1.0,
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
"TreatMissingData": "missing"
}
],
"CompositeAlarms": []
}发布于 2021-03-08 07:14:51
您可以将missing data设置为notBreaching。这样,缺少数据点将被视为好的:
丢失的数据点被视为“良好”,并且在阈值内,
https://stackoverflow.com/questions/66517062
复制相似问题