- 最新
- 最多得票
- 最多評論
The ConnectionState metric for AWS Direct Connect can have different units reported depending on the account and region. This is likely due to internal changes made by AWS to improve the metric reporting.
Some key points:
The AWS documentation states the unit should be "Boolean", indicating a value of 1 for up and 0 for down.
Some accounts may report a unit of "None", which is still a valid value from the perspective of the CloudWatch API.
Other accounts could show a unit of "Count".
AWS may have updated the metric reporting internally without updating all documentation yet.
To get a consistent unit, you could consider using metric math expressions in CloudWatch to convert the value as needed. For example:
RULE: If ConnectionState = 1 then return "Up" else return "Down"
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前