Files
livekit-agents/python
Théo Monnom f44e65bab8 storage: client-side agent-db metrics (request duration, retries, redials)
- lk.agents.storage.request_duration (s) by op (exec, batch, query, hello,
  thread_create/get/list/update/delete/items/tasks) and class (ok, client,
  redirect, capacity, server, unknown): one request from its call to its last
  answer, the connection's resend to a moved database included.
- lk.agents.storage.retries by reason (moved, unavailable, snapshot_expired,
  capacity, drained, transport, local): counted where the connection resends a
  drained request and where thread::Retry, the one retry owner, sends again.
- lk.agents.storage.redials by reason: each dial of the supervisor's redial.

Declared in ABI (telemetry/storage.rs). agent-db's error table carries each
code's retry reason and agent-store's outcome class. StorageError::Unavailable
carries an Unapplied: the typed reason a refusal is retried, so the retry owner
counts it without reading a message.
2026-11-19 23:55:09 -08:00
..