Example 15029

Monitoring Config

Application monitoring and alerting setup.

{
service: "relationships"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "eu-west"
team: "kids"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 95
memory_threshold: 86
latency_p99_ms: 578
error_rate: 0.01
notification: {
channel: "#oncall"
severity: "warning"
}
}
}

See also