Skip to content

1624 - Monitoring Config

Application monitoring and alerting setup. This is an example of a MAML document.

maml
{
  service: "supply-chains"
  # Prometheus metrics
  metrics: {
    endpoint: "/metrics"
    interval: 60 # seconds
    labels: {
      env: "prod"
      region: "us-east"
      team: "games"
    }
  }

  # Alert thresholds
  alerts: {
    cpu_threshold: 71
    memory_threshold: 92
    latency_p99_ms: 754
    error_rate: 0.05
    notification: {
      channel: "#ops-alerts"
      severity: "critical"
    }
  }
}

See Also