Example 9938

Monitoring Config

Application monitoring and alerting setup.

{
service: "ai"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "prod"
region: "us-east"
team: "baby"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 91
memory_threshold: 92
latency_p99_ms: 625
error_rate: 0.02
notification: {
channel: "#ops-alerts"
severity: "critical"
}
}
}

See also