Example 5229

Monitoring Config

Application monitoring and alerting setup.

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

# Alert thresholds
alerts: {
cpu_threshold: 80
memory_threshold: 87
latency_p99_ms: 1919
error_rate: 0.01
notification: {
channel: "#incidents"
severity: "critical"
}
}
}

See also