Example 11027
Monitoring Config
Application monitoring and alerting setup.
{
service: "niches"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "us-east"
team: "computers"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 75
memory_threshold: 94
latency_p99_ms: 261
error_rate: 0.01
notification: {
channel: "#incidents"
severity: "critical"
}
}
}