Example 6232
Monitoring Config
Application monitoring and alerting setup.
{
service: "networks"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 60 # seconds
labels: {
env: "staging"
region: "us-east"
team: "sports"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 90
memory_threshold: 88
latency_p99_ms: 117
error_rate: 0.02
notification: {
channel: "#ops-alerts"
severity: "info"
}
}
}