I am trying to create a cloudwatch
alarm as below:
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
And in the Namespace
I have given the value TriAppsTestV2ApplicationELB
. But I cannot see this in the metrics
section of the CloudWatch
service. How can I find this Namespace
?