Example 9137

Monitoring Config

Application monitoring and alerting setup.

{
service: "web services"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 30 # seconds
labels: {
env: "prod"
region: "us-east"
team: "health"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 92
memory_threshold: 86
latency_p99_ms: 896
error_rate: 0.01
notification: {
channel: "#incidents"
severity: "info"
}
}
}

See also