---
title: ALB
---

## Standard set of alarms

| Stat | Threshold | Time to Alarm | Urgency | Metric |
| ---- | --------- | ------------- | ------- | ------ |
| Availability | 99.9% | 30m | High | (1 - ((HTTPCode_Target_5XX_Count + HTTPCode_ELB_5XX_Count) / (RequestCount + HTTPCode_ELB_5XX_Count))) * 100 |
| Availability | 99% | 10m | High | (1 - ((HTTPCode_Target_5XX_Count + HTTPCode_ELB_5XX_Count) / (RequestCount + HTTPCode_ELB_5XX_Count))) * 100 |
| Availability | 90% | 5m | High | (1 - ((HTTPCode_Target_5XX_Count + HTTPCode_ELB_5XX_Count) / (RequestCount + HTTPCode_ELB_5XX_Count))) * 100 |
| Availability | 99.9% | 5m | Low | (1 - ((HTTPCode_Target_5XX_Count + HTTPCode_ELB_5XX_Count) / (RequestCount + HTTPCode_ELB_5XX_Count))) * 100 |
| Latency p99.9 | Baseline | 30m | High | p99.9 of TargetResponseTime |
| Latency p99 | Baseline | 10m | High | p99 of TargetResponseTime |
| Latency p90 | Baseline | 5m | High | p90 of TargetResponseTime |
| Latency p99.9 | Baseline | 5m | Low | p99.9 of TargetResponseTime |
| ELB 5XX | 100 | 3m | Low | Sum of HTTPCode_ELB_5XX_COUNT |
| Rejected Connections | 1 | 3m | Low | Sum of RejectedConnectionCount |
| Unhealthy Hosts | 1 | 15m | Low | Sum of UnHealthyHostCount |

## Examples

[Cloudwatch](https://git.xarth.tv/chat/copo/blob/master/cloudformation/templates/alb_alarms.yaml)
