Example 11525

Monitoring Config

Application monitoring and alerting setup.

{
service: "partnerships"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 60 # seconds
labels: {
env: "staging"
region: "eu-west"
team: "grocery"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 84
memory_threshold: 79
latency_p99_ms: 505
error_rate: 0.01
notification: {
channel: "#oncall"
severity: "critical"
}
}
}

See also