Closed dominiquearpin closed 9 months ago
5.3.0 and 5.10.2
this.myDashboard.monitorFargateApplicationLoadBalancer({ fargateService: myFargate.fargateService, applicationLoadBalancer: myFargate.applicationLoadBalancer, applicationTargetGroup: myFargate.targetGroup, addHealthyTaskCountAlarm: { healthy: { alarmNameOverride: `${this.MyVariable}-ECS-healthy`, alarmDescriptionOverride: 'asdfasdf', minHealthyTasks: 6, comparisonOperatorOverride: ComparisonOperator.GREATER_THAN_OR_EQUAL_TO_THRESHOLD, treatMissingDataOverride: TreatMissingData.NOT_BREACHING, actionsEnabled: true, actionOverride: new SnsAlarmActionStrategy({ onAlarmTopic }), datapointsToAlarm: 8, evaluationPeriods: 10, period: Duration.seconds(60) } } })
Add healthy and unhealthy (dashboard + alarm)
Can't get the healthy and unhealthy. Get only the CPU, memory and min/maxAutoScaling.
No problem with addCpuUsageAlarm, addMemoryUsageAlarm, minAutoScalingTaskCount and minAutoScalingTaskCount . Maybe a dont use the right method..
You can close this issue. Maybe adding some warning when some value are "null". My loadbalancer was empty, but fail without notice.
Version
5.3.0 and 5.10.2
Steps and/or minimal code example to reproduce
Expected behavior
Add healthy and unhealthy (dashboard + alarm)
Actual behavior
Can't get the healthy and unhealthy. Get only the CPU, memory and min/maxAutoScaling.
Other details
No problem with addCpuUsageAlarm, addMemoryUsageAlarm, minAutoScalingTaskCount and minAutoScalingTaskCount . Maybe a dont use the right method..