Example 14634

Monitoring Config

Application monitoring and alerting setup.

{
service: "lifetime value"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 60 # seconds
labels: {
env: "staging"
region: "eu-west"
team: "baby"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 84
memory_threshold: 81
latency_p99_ms: 1827
error_rate: 0.01
notification: {
channel: "#incidents"
severity: "critical"
}
}
}

See also