Example 12137

Monitoring Config

Application monitoring and alerting setup.

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

# Alert thresholds
alerts: {
cpu_threshold: 87
memory_threshold: 91
latency_p99_ms: 1088
error_rate: 0.05
notification: {
channel: "#oncall"
severity: "info"
}
}
}

See also