Alerts

Alerts

The alert rules Nova ships, when each fires, and the first thing to do.

Nova ships its alert rules as a Prometheus PrometheusRule that the Kubernetes controller renders when spec.observability.rules is on. Every backlog rule reads an age, never a rate: a queue can look busy and healthy while it falls behind, and only its age shows it. Outside Kubernetes, copy the expressions into your own rules. They are in operator/internal/constellation/observability.go, and the backup rules in backup.go beside it.

Turn the rules on
spec:
  observability:
    rules: true
    monitors: true

Each rule carries severity (warning or critical), namespace, and nova_constellation labels, and a summary that names the first step. The thresholds below are the shipped ones. Each alert shows its severity beside its name. An alert with two thresholds fires as warning at the first and as critical at the second.

Backlogs

These read ages a healthy system keeps near zero. Wire them first.

NovaWALBacklogAgingwarning, critical

Fires when nova_wal_backlog_age_seconds is over 30 for 5m (warning), or over 300 for 5m (critical).

A leader's oldest acknowledged flight has waited over 30 s for the indexer. At critical, the indexer is stalled and appends wait at the backlog budget.

First step: check the metadata store's latency, then the stall cause; see Writes stall. At critical, act at once: producers are blocked.

NovaAbsorbRefusingMissingRowcritical

Fires when nova_indexer_ledgers_refusing is above 0 for 5m.

A node refuses a ledger's absorb because a stream it leads has no registry row.

First step: find the stream in the node's indexer: Error line. Restore the row if it was lost, then drain the node with nova node drain to end the leadership.

NovaDenormBacklogAgingwarning, critical

Fires when nova_auditor_due_age_seconds{queue="denorm"} is over 600 for 10m (warning), or over 1,800 for 10m (critical).

Denorm is falling behind ingest. At critical, the WAL, its span rows, and deleted streams' cleanup grow with the backlog.

First step: add auditors, or check their scratch and network; see Auditor delays.

NovaDenormStalledcritical

Fires when nova_denorm_stalled_seconds is over 900 for 1m.

A ledger's denorm frontier has not moved for 15 minutes, or an auditor stopped sweeping.

First step: read the auditor's log. It names the ledger or the failing read.

NovaDenormRefusalStuckwarning

Fires when a denorm refusal is older than six read graces for 5m: an hour at the default --auditor-read-grace of 10 minutes.

A stream recreated under its old ID is waiting on its predecessor's object, and that object's reap is stuck.

First step: take the object from the auditor's refusal Warn and find its reap marker among the stream's pending audit jobs. A missing marker means the reap was never armed; a marker past due means the reaper is stuck.

NovaAuditorsAbsentcritical

Fires when there is no nova_auditor_due_age_seconds series for 10m.

No auditor reports: nothing denorms, trims, or reclaims, and every backlog alert is blind.

First step: check the audit pool's pods and the AuditScratchTooSmall condition.

NovaReclamationBacklogAgingwarning, critical

Fires when the due age of any queue but denorm and star-reclaim is over 900 for 15m (warning), or over 3,600 for 15m (critical).

A cleanup queue (reap, recovery, retention, trimcheck, teardown, teardown-final, or range-split) is behind. At critical, the auditor is stuck, not busy.

First step: look the queue up in Auditor delays.

NovaStarReclaimHeldwarning

Fires when nova_auditor_due_age_seconds{queue="star-reclaim"} is over 26h for 15m.

A retired node's ledger records and WAL slots are still held.

First step: find the auditor's auditor: job failed Warn with step=star-reclaim; it names the node in its key. With no such line, check that node's ledgers in the denorm and trimcheck queues.

NovaStarClockAheadwarning

Fires when nova_auditor_stars_clock_ahead is above 0 for 5m.

A node's clock runs over 10 s ahead of an auditor's, so teardown holds every purge.

First step: fix the node's time sync.

Capacity

These fire when nodes run out of room: for streams, connections, memory, or WAL rolls. Most first steps add nodes or raise a limit.

NovaFleetSaturatedcritical

Fires when every node's nova_node_saturated is 1 for 2m.

No node accepts new streams.

First step: add nodes.

NovaNodeSaturatedwarning

Fires when one node is saturated for 10m.

Rebalancing has not relieved it.

First step: check which resource; see Sizing.

NovaNodeStrandedwarning

Fires when nova_node_stranded is 1 for 5m.

A saturated node cannot hand any stream to a peer.

First step: add capacity. One hot stream may need to be split by the application.

NovaCapacitySheddingwarning

Fires when nova_dataplane_shed_total{resource="capacity"} is rising for 10m.

Clients are refused with ResourceExhausted.

First step: add nodes, or raise the limit that sheds; see Node limits.

NovaRollPacerDrycritical

Fires when nova_wal_roll_waiting is above 0 for 1m.

A halted WAL has used its burst of three rolls, so its next roll waits for the pacer's next token, one every 200 s. Appends on it wait too, up to their deadlines.

First step: find the halt's cause in wal: epoch halted; rolling. It is usually object storage.

NovaHandoffChurnwarning

Fires when there is more than one handoff a minute for 30m.

Rebalancing is moving leaders instead of settling.

First step: compare node load, and check for a node flapping in and out of saturation.

NovaClientListenerAtCapwarning

Fires when a client listener held its total connection cap for 5m.

New clients are shed at accept.

First step: find the source in the listener's shed line, or raise --max-client-connections.

NovaHeapWatermarkRefusingwarning

Fires when nova_heap_watermark_refusing is 1 for 5m.

The node refuses new data calls until its live heap falls.

First step: take a heap profile, then raise the node's memory or add nodes.

NovaHeapWatermarkFlappingwarning

Fires when the heap watermark passed more than twice in 10m.

The node keeps pausing and resuming at full load.

First step: add nodes, or raise the node's memory ceiling.

NovaWriteLatencyP99Highwarning

Fires when the Standard write p99 is over 1 s for 5m, or the Express write p99 is over 0.25 s for 5m.

Appends of that class are slow.

First step: see Writes are slow. For Express, then check the express buckets' zones.

Departures and embedded oxia

These watch a node on its way out, the metadata store when it runs inside the nodes (embedded oxia), and the Gateway's credential.

NovaWriterLimboAgingwarning

Fires when nova_writer_limbo_age_seconds is over 300 for 5m.

A departing leader cannot certify its records, so it keeps the lease.

First step: see A stream will not open.

NovaOxiaDrainStalledwarning

Fires when nova_oxia_server_draining_age_seconds is over 900 for 1m.

Embedded oxia has drained a departing node for over 15 minutes, so its removal holds.

First step: add capacity or fix the drain's target. As a last resort, force the departure with the nova.dev/force-departure annotation, which leaves the node's shards one copy short; see Node removal ladder.

NovaOxiaWalVolumeFillingwarning

Fires when an oxia server's WAL volume is over 70% used for 15m.

A full WAL volume fails every shard on it.

First step: raise walStorage, or add servers.

NovaOxiaDataVolumeFillingwarning

Fires when an oxia server's data volume is over 40% used for 15m.

Snapshot installs refuse near half full.

First step: raise storage, or add servers.

NovaOxiaVolumeMetricsMissingwarning

Fires when there are no kubelet volume stats for an oxia server for 30m.

The two volume alerts above cannot fire.

First step: turn on the kubelet scrape (kubelet.enabled=true in kube-prometheus-stack). If it is on, check that the claim's storage class reports volume stats.

NovaGatewayFleetCredentialExpiringwarning

Fires when a Gateway's fleet credential has under a day left for 10m.

The controller stopped re-minting it. At zero, the nodes refuse the Gateway's relays.

First step: check the controller's logs.

Metadata backups

These exist only when a backup policy is set. See Backups and restore.

NovaMetadataBackupStalewarning

Fires when a shard had no backup for twice the interval, held for one interval.

Something the schedule cannot fix, such as a shard without a leader, stops its backups.

First step: check the coordinator's backup log.

NovaMetadataBackupFailingwarning

Fires when any backup request failed in the last hour, held 5m.

Backups are failing.

First step: check the destination bucket and its credentials.

See also

On this page