Appearance
525 - Monitoring Config
Application monitoring and alerting setup. This is an example of a MAML document.
maml
{
service: "users"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 10 # seconds
labels: {
env: "staging"
region: "eu-west"
team: "sports"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 88
memory_threshold: 91
latency_p99_ms: 398
error_rate: 0.05
notification: {
channel: "#incidents"
severity: "info"
}
}
}