Agent Observability
SDKsNode

Configuration

Environment variables read by the Node SDK across the LiveKit helpers and the Vitest reporter.

Configuration comes from environment variables. Only the URL is required.

Env varPurpose
LIVEKIT_OBSERVABILITY_URLDashboard base URL (LiveKit-canonical name). Required by initObservability (throws if unset).
AGENT_OBSERVABILITY_URLSame purpose; initObservability accepts this as a fallback and mirrors it into LIVEKIT_OBSERVABILITY_URL so LiveKit's upload code picks it up.
AGENT_OBSERVABILITY_AGENT_IDStable opaque agent identifier. Required on every upload. UUIDs strongly recommended over slugs.
AGENT_OBSERVABILITY_ACCOUNT_IDMulti-tenant account id. Optional.
AGENT_OBSERVABILITY_USER / _PASSBasic-auth credentials when the server enables auth.
AGENT_OBSERVABILITY_TIMEOUTUpload request timeout in seconds (default 10).
AGENT_OBSERVABILITY_MAX_RETRIESMax upload attempts before falling back (default 3).
AGENT_OBSERVABILITY_FALLBACK_DIRDirectory for failed-upload JSON (defaults to .vitest-cache/agent-observability).

CI metadata (GitHub / GitLab / CircleCI / Buildkite) is auto-detected by the Vitest reporter from standard env vars.