Example 8032
Monitoring Config
Application monitoring and alerting setup.
{
service: "users"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 15 # seconds
labels: {
env: "prod"
region: "us-east"
team: "health"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 94
memory_threshold: 79
latency_p99_ms: 451
error_rate: 0.05
notification: {
channel: "#incidents"
severity: "info"
}
}
}