Example 13832

Monitoring Config

Application monitoring and alerting setup.

{
service: "markets"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 60 # seconds
labels: {
env: "staging"
region: "ap-south"
team: "home"
}
}

# Alert thresholds
alerts: {
cpu_threshold: 73
memory_threshold: 94
latency_p99_ms: 209
error_rate: 0.01
notification: {
channel: "#incidents"
severity: "warning"
}
}
}

See also