我正在尝试创建一个 cloudwatch
警报,如下所示:
503AlarmELB:
Type: AWS::CloudWatch::Alarm
DeletionPolicy: Retain
Properties:
AlarmDescription: "503 HTTP CODE Count is higher than 20"
# AlarmName: !Join ["-", [ !Ref Namespace, !Ref Environment, "ALB-HTTPCode_ELB_503_Count" ]]
AlarmActions:
- Ref: ManagedCloudSNSTopic
MetricName: "HTTPCode_ELB_503_Count"
Namespace: TriAppsTestV2ApplicationELB
Statistic: Average
Period:
Ref: 503AlarmPeriod
EvaluationPeriods:
Ref: 503AlarmEvaluationPeriods
Threshold:
Ref: 503AlarmThreshold
ComparisonOperator: GreaterThanOrEqualToThreshold
Dimensions:
- Name: InternalALB
Value:
Ref: InternalAlbFullName
在命名空间
中,我给出了值TriAppsTestV2ApplicationELB
。但我在 CloudWatch
服务的 metrics
部分看不到这一点。我怎样才能找到这个命名空间
?
最佳答案
该矩阵的命名空间是(来自 docs ):
Namespace: AWS/ApplicationELB
关于amazon-web-services - 无法看到 CloudFormation cloudwatch 命名空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70441076/