Example 5334

Monitoring Config

Application monitoring and alerting setup.

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

# Alert thresholds
alerts: {
cpu_threshold: 93
memory_threshold: 93
latency_p99_ms: 669
error_rate: 0.02
notification: {
channel: "#oncall"
severity: "info"
}
}
}

See also