Example 17232

Monitoring Config

Application monitoring and alerting setup.

{
service: "systems"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "ap-south"
team: "computers"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 71
memory_threshold: 79
latency_p99_ms: 225
error_rate: 0.02
notification: {
channel: "#ops-alerts"
severity: "critical"
}
}
}

See also