Example 9738
Monitoring Config
Application monitoring and alerting setup.
{
service: "content"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 30 # seconds
labels: {
env: "prod"
region: "us-east"
team: "music"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 80
memory_threshold: 78
latency_p99_ms: 1272
error_rate: 0.02
notification: {
channel: "#ops-alerts"
severity: "info"
}
}
}