Example 12835

Monitoring Config

Application monitoring and alerting setup.

{
service: "mindshare"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 30 # seconds
labels: {
env: "prod"
region: "us-east"
team: "toys"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 81
memory_threshold: 76
latency_p99_ms: 1122
error_rate: 0.05
notification: {
channel: "#oncall"
severity: "warning"
}
}
}

See also