Skip to main content

Alerts

With alerts.enabled: true the chart installs a PrometheusRule and a PodMonitor for the Prometheus Operator. The rules read kube-state-metrics and cAdvisor (kube-prometheus-stack installs both), the collector's own metrics, the guard's ambit_guard_compress_* metrics, and the console's ambit_console_audit_send_failures_total. Set alerts.labels to the labels your Prometheus selects rules and monitors by:

alerts:
enabled: true
labels: { release: kube-prometheus-stack }
AlertSeverityFires whenFirst step
AmbitContainerRestartingwarninga container restarted 2 or more times in 30 minuteskubectl -n <ns> describe pod <pod>: read Last State
AmbitContainerOOMKilledwarninga container was killed at its memory limit and restarted in the last 30 minutesraise its limit in the chart values, or find what grew (below)
AmbitMemoryNearLimitwarninga container used over 90% of its memory limit for 15 minutesas above, before the kill
AmbitWorkloadUnavailablewarninga Deployment or StatefulSet had fewer ready pods than it should for 10 minuteskubectl -n <ns> get events --sort-by=.lastTimestamp
AmbitGuardCompressionFailingwarningresult compression of a server had an error or ran out of time in the last 30 minutes (only with protection.enabled). No call failed: the guard passed the original textset resultCompression.mode: off on the Server if it continues, and read kubectl -n <ns> logs deploy/ambit-guard
AmbitGuardRecordsDroppedwarningthe guard dropped compression records in the last 30 minutes (only with protection.enabled and evidence.enabled). No call failed. The Savings figures are lower than the real onessend_failed: the collector was not reachable, read kubectl -n <ns> logs deploy/ambit-otel-collector. queue_full: more records than the guard can send. no_groups: the gateway sent no groups for the call
AmbitBudgetStoreDowncriticalthe ratelimit service or Valkey had no ready pod for 1 minute (only with limits.enabled)with FailClosed the gateway refuses LLM and MCP requests; with FailOpen requests pass uncounted
AmbitAuditLogsDroppedcriticalaudit records failed to reach ClickHouse, or the collector refused them, in the last 10 minutes (only with evidence.enabled)check ClickHouse first
AmbitConsoleAuditSendFailedwarningthe console could not send records of MCP app requests, approvals, denials or refused attempts to the collector in the last 30 minutes (only with evidence.enabled). The requests and decisions happened; the Audit page and otel_logs miss these recordsthe ServerRequest objects still hold the requests and decisions: kubectl -n <ns> get serverrequests. Read why: kubectl -n <ns> logs deploy/ambit-console, then check the collector
AmbitControllerRecordsDroppedwarningthe controller dropped access snapshot records in the last 30 minutes (only with evidence.enabled). The rules were applied; an access review export for this time has a gap until the next change or the daily record at 00:05 UTCsend_failed: the collector was not reachable, read kubectl -n <ns> logs deploy/ambit-otel-collector. queue_full: more records than the controller can send. too_large: the AccessRules together are larger than 1 MiB, read kubectl -n <ns> logs deploy/ambit-controller

Finding what grew​

Memory per container: kubectl -n <ns> top pods --containers. Known causes:

  • Collector: it holds failed batches for retry while ClickHouse refuses writes, up to 64 MiB, and refuses new records above 75% of its limit. Lost records raise AmbitAuditLogsDropped; the cause is usually ClickHouse.
  • ClickHouse: kubectl -n <ns> exec ambit-clickhouse-0 -- clickhouse-client -q "SELECT metric, value FROM system.metrics WHERE metric = 'GlobalThread'". The chart's settings keep it near 90 threads; many more means its thread pools were changed.
  • Gateway: about 7 KiB per open MCP session, dropped after 30 idle minutes.