Skip to content

Commit bca260e

Browse files
committed
Remove ALB anomaly detector
1 parent 673aeb4 commit bca260e

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

spire/templates/shared-alb.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -411,55 +411,6 @@ Resources:
411411
Threshold: 5
412412
TreatMissingData: notBreaching
413413

414-
AnamolousDailyTrafficAnomalyDetector:
415-
Type: AWS::CloudWatch::AnomalyDetector
416-
Condition: IsProduction
417-
Properties:
418-
Dimensions:
419-
- Name: LoadBalancer
420-
Value: !GetAtt Alb.LoadBalancerFullName
421-
MetricName: RequestCount
422-
Namespace: AWS/ApplicationELB
423-
Stat: Sum
424-
AnamolousDailyTrafficAlarm:
425-
Type: AWS::CloudWatch::Alarm
426-
Condition: IsProduction
427-
Properties:
428-
AlarmName: !Sub ERROR [Shared] Load balancer <${EnvironmentTypeAbbreviation}> ANOMALOUS DAILY TRAFFIC
429-
AlarmDescription: !Sub >-
430-
The shared ${EnvironmentType} application load balancer is getting an
431-
unusually high volume of traffic, that does not match historical
432-
patterns. This doesn't indicate a service issue, but it may be worth
433-
trying to identify the source of the traffic if it is sustained.
434-
ComparisonOperator: GreaterThanUpperThreshold
435-
EvaluationPeriods: 1
436-
Metrics:
437-
- Id: ad1
438-
Expression: ANOMALY_DETECTION_BAND(m1, 2) # 2 here means 2 std dev
439-
Label: RequestCount (expected)
440-
ReturnData: true
441-
- Id: m1
442-
MetricStat:
443-
Metric:
444-
Dimensions:
445-
- Name: LoadBalancer
446-
Value: !GetAtt Alb.LoadBalancerFullName
447-
MetricName: RequestCount
448-
Namespace: AWS/ApplicationELB
449-
Period: 3600
450-
Stat: Sum
451-
ReturnData: true
452-
Tags:
453-
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
454-
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
455-
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
456-
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
457-
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
458-
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
459-
- { Key: prx:dev:application, Value: Common }
460-
ThresholdMetricId: ad1
461-
TreatMissingData: notBreaching
462-
463414
LatencyGroupDomainRecordSetGroup:
464415
Type: AWS::Route53::RecordSetGroup
465416
Properties:

0 commit comments

Comments
 (0)