Example 15723

Monitoring Config

Application monitoring and alerting setup.

{
service: "roi"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "eu-west"
team: "sports"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 78
memory_threshold: 83
latency_p99_ms: 1408
error_rate: 0.05
notification: {
channel: "#incidents"
severity: "info"
}
}
}

See also