Example 13534
Monitoring Config
Application monitoring and alerting setup.
{
service: "web services"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "prod"
region: "us-east"
team: "beauty"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 83
memory_threshold: 90
latency_p99_ms: 1676
error_rate: 0.01
notification: {
channel: "#ops-alerts"
severity: "info"
}
}
}