Example 16140
Monitoring Config
Application monitoring and alerting setup.
{
service: "models"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 15 # seconds
labels: {
env: "staging"
region: "eu-west"
team: "garden"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 74
memory_threshold: 91
latency_p99_ms: 882
error_rate: 0.02
notification: {
channel: "#ops-alerts"
severity: "info"
}
}
}