Example 3128

Monitoring Config

Application monitoring and alerting setup.

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

# Alert thresholds
alerts: {
cpu_threshold: 91
memory_threshold: 87
latency_p99_ms: 1870
error_rate: 0.01
notification: {
channel: "#ops-alerts"
severity: "info"
}
}
}

See also