Example 13531

Monitoring Config

Application monitoring and alerting setup.

{
service: "networks"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "us-east"
team: "sports"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 87
memory_threshold: 84
latency_p99_ms: 725
error_rate: 0.02
notification: {
channel: "#oncall"
severity: "warning"
}
}
}

See also