---
title: Endpoints
---

## Standard set of alarms

| Stat | Threshold | Time to Alarm | Urgency | Metric |
| ---- | --------- | ------------- | ------- | ------ |
| Server Error | 0.1% | 30m | High | Average of Endpoint ServerError |
| Server Error | 1% | 10m | High | Average of Endpoint ServerError |
| Server Error | 10% | 5m | High | Average of Endpoint ServerError |
| Server Error | 0.1% | 10m | Low | Average of Endpoint ServerError |
| Latency p99.9 | SLA in Jarvis | 30m | High | p99.9 of Endpoint Duration |
| Latency p99 | SLA in Jarvis | 10m | High | p99 of Endpoint Duration |
| Latency p90 | SLA in Jarvis | 5m | High | p90 of Endpoint Duration |
| Latency p99.9 | SLA in Jarvis | 10m | Low | p99.9 of Endpoint Duration |
| Client Error | Baseline per Endpoint | 10m | Low | Average of Endpoint ClientError |

## Examples

[Terraform](https://git.xarth.tv/chat/terraform/tree/master/modules/endpoint/alarms)

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

[CDK](https://code.amazon.com/packages/TwitchFriendshipCDK/blobs/mainline/--/lib/constructs/endpoint-alarms.ts)
