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

标签 amazon-web-services aws-cloudformation amazon-cloudwatch

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

相关文章:

amazon-web-services - 如何打开对托管在 Windows EC2 实例上的 ElasticSearch 服务器的外部访问?

amazon-web-services - AWS Athena 部署无服务器框架

amazon-web-services - 我可以在 S3 中保存 Amazon Lex 日志和指标数据吗?

c# - AWS Lambda c# 异步 API 调用

aws-cloudformation - 将 CloudFormation 模板 (YAML) 转换为对流层代码

amazon-web-services - 在 CloudFormation 模板中设置可变数量的 CloudWatch 警报

amazon-cloudwatch - 基于自定义指标的指标名称的所有维度的 Cloudwatch 警报

amazon-web-services - 使用 AWS CDK 进行跨账户监控

ruby-on-rails - Capistrano - 载波加载错误 : cannot load such file -- carrierwave/processing/mime_types

aws-cloudformation - 如何将 'Always Required' 值添加到 CommaDelimitedList