Skip to content

2127 - Monitoring Config

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

maml
{
  service: "methodologies"
  # Prometheus metrics
  metrics: {
    endpoint: "/metrics"
    interval: 15 # seconds
    labels: {
      env: "prod"
      region: "eu-west"
      team: "industrial"
    }
  }

  # Alert thresholds
  alerts: {
    cpu_threshold: 89
    memory_threshold: 88
    latency_p99_ms: 1763
    error_rate: 0.05
    notification: {
      channel: "#oncall"
      severity: "critical"
    }
  }
}

See Also