Example 3526

Monitoring Config

Application monitoring and alerting setup.

{
service: "communities"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 30 # seconds
labels: {
env: "staging"
region: "eu-west"
team: "jewelry"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 72
memory_threshold: 89
latency_p99_ms: 393
error_rate: 0.02
notification: {
channel: "#ops-alerts"
severity: "info"
}
}
}

See also