Appearance
625 - Monitoring Config
Application monitoring and alerting setup. This is an example of a MAML document.
maml
{
service: "networks"
# Prometheus metrics
metrics: {
endpoint: "/metrics"
interval: 60 # seconds
labels: {
env: "prod"
region: "eu-west"
team: "kids"
}
}
# Alert thresholds
alerts: {
cpu_threshold: 82
memory_threshold: 79
latency_p99_ms: 1963
error_rate: 0.02
notification: {
channel: "#ops-alerts"
severity: "info"
}
}
}