Example 8333

Monitoring Config

Application monitoring and alerting setup.

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

# Alert thresholds
alerts: {
cpu_threshold: 75
memory_threshold: 91
latency_p99_ms: 1178
error_rate: 0.02
notification: {
channel: "#incidents"
severity: "critical"
}
}
}

See also