Example 15437

Monitoring Config

Application monitoring and alerting setup.

{
service: "e-commerce"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 30 # seconds
labels: {
env: "prod"
region: "us-east"
team: "games"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 81
memory_threshold: 86
latency_p99_ms: 1884
error_rate: 0.02
notification: {
channel: "#incidents"
severity: "critical"
}
}
}

See also