Example 15423

Monitoring Config

Application monitoring and alerting setup.

{
service: "users"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "ap-south"
team: "industrial"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 73
memory_threshold: 93
latency_p99_ms: 970
error_rate: 0.05
notification: {
channel: "#oncall"
severity: "critical"
}
}
}

See also