gpt4 book ai didi

amazon-web-services - 无法看到 CloudFormation cloudwatch 命名空间

转载 作者:行者123 更新时间:2023-12-03 07:22:56 25 4
gpt4 key购买 nike

我正在尝试创建一个 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com