Example 3633
Monitoring Config
Application monitoring and alerting setup.
{
service: "markets"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "ap-south"
team: "music"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 85
memory_threshold: 94
latency_p99_ms: 1121
error_rate: 0.05
notification: {
channel: "#ops-alerts"
severity: "critical"
}
}
}