Skip to main content

Observability

Implementation and historical evidence

Reviewed against current implementation on 8 November 2026. Historical commit links and explicitly dated examples remain historical evidence; they do not identify the current development source or certify your installed version. See source coverage. This is static source reconciliation, not a live application or provider test.

Use runtime receipts, persisted history, logs, and provider-request evidence to answer different questions. A green process or successful HTTP response is not proof that the requested work completed.

Health and status​

curl -fsS http://127.0.0.1:42817/health

Both /health and /api/health return a small public readiness/build-identity response before the authentication gate. Detailed /api/status passes through authentication and can contain operationally sensitive runtime information.

Inspect health ok and version; inspect model/trace details through authenticated status. A missing model selection can coexist with a running service. The Docker probe additionally accepts 401 as HTTP liveness; it is not a model or integration check.

Service and container logs​

Native user service:

"$HOME/.burrow/bin/burrow" service status
"$HOME/.burrow/bin/burrow" service logs -n 200

Container:

docker compose ps
docker compose logs --tail=200 burrow

Current development emits structured JSON lines directly to the service console: info to stdout and warn/error/fatal to stderr; debug detail stays in the file sink. Reading docker compose logs or the native journal does not require an application login, diagnostics token or telemetry collector. The startup summary reports effective build/auth source, database, scheduler and mod counts; the existing listening line remains. A port conflict is logged as EADDRINUSE; do not launch another foreground process to test a running service.

Records carry UTC time, service, severity, component and event, plus available request/agent/session/run/task and existing trace correlation. x-request-id is accepted or generated and echoed. Request paths are templated without query strings. Ordinary successful polling and routine validation do not flood the console. A logical failed run can be logged even when its HTTP transport status is 200: distinguish status, resultStatus and upstreamStatus.

The first warning/error appears immediately. Equivalent repeats are summarized at most once per 60 seconds and at shutdown; a recovery resets the repeat bucket. Correlation on a repeat summary represents the first event, not every occurrence. Background dependency and mod lifecycle failures are also visible; a disabled feature is not reported as a recovered dependency.

The detailed sink is <runtime-root>/logs/server-events.jsonl (/data/logs/server-events.jsonl in the standard container), continuously rotated at 8 MiB with three backups (.1–.3). Files use mode 0600 and the log directory 0700. Console and file writes fail independently. Rotation assumes the normal single owning logger, not a cross-process lock. Direct mod stdout/stderr is drained with bounded stream notices rather than copied as raw prose. Curated diagnostics avoid credentials and raw provider bodies, but explicit logger messages remain a trusted boundary: review logs before sharing them.

Chat and active work​

The chat transport can return NDJSON when the request accepts application/x-ndjson. It carries run, route, model, tool, assistant delta, verification, and terminal events. HTTP 200 begins the stream; completion still requires interpreting the terminal result.

  • run.completed contains a result whose ok must be inspected
  • run.failed, run.cancelled, and run.superseded are distinct outcomes
  • Disconnecting the browser detaches the client; it does not necessarily cancel the agent
  • /stop or the explicit cancel endpoint requests cancellation

GET /api/chat/runs/active exposes active parent runs and child-work summaries. Scope observations by agent and session. Group-channel runs have their own participant identities and cancellation route.

Traces and persisted evidence​

Use Archive or the trace endpoints to inspect completed work. Current CLI readers resolve lifecycle-aware connection settings, including the private managed socket. They connect to an already running database; see managed reader connection. The CLI can retrieve trace summaries with PostgreSQL conversation evidence:

"$HOME/.burrow/bin/burrow" trace --agent-id assistant --latest --json
"$HOME/.burrow/bin/burrow" trace --agent-id assistant --run-id RUN_ID --tool-output
"$HOME/.burrow/bin/burrow" session-search \
--agent-id assistant --session-id default --query 'decision' --json

Replace assistant and RUN_ID with actual identifiers. These commands need a reachable configured database and key. They do not start the database; application composition may check/apply pending migrations.

/context shows a concise overview of the last captured provider request: model, matching usage measurement, included message groups and captured profile/context record sizes. /context full expands that same capture in provider-message order. Neither command reconstructs a preview from current settings. If no capture exists, the command reports provider_request_unavailable; send a normal message first rather than treating an absent capture as empty context.

Current Chat renders expandable capture details, message contents, tool schemas/provider options and the redacted raw request. Plain clients receive readable Markdown. Usage is unavailable when the capture and meter request IDs do not match. New structured provider-request captures retain the complete serialized message sequence, tool schemas and nesting while redacting sensitive fields and configured protected values; the former generic metadata array/key/depth cutoffs no longer apply to this JSON capture. Existing provider-specific image representations and retention rules remain. Older omitted content cannot be reconstructed, and provider-held history referenced by a response/conversation ID may not be inside the capture. These views can still expose private conversation, profiles and tool evidence; review before sharing.

A receipt can show that a command ran without proving the user's overall objective. Prefer concrete changed-file, exit-status, verification, and terminal-result evidence over narrative success claims.

OpenTelemetry​

Current development places OpenTelemetry under Settings → Connections → OpenTelemetry (the public 2026.10.19 UI used General). It exports the same curated traces and supported metrics to one or more destinations, with isolated, bounded exporters and a separate metric reader for each destination. One failing or hung destination does not make application work fail or block a healthy peer. OTLP/HTTP JSON and protobuf are supported; gRPC is not.

Configure destinations​

  1. Choose Add destination in the Destinations inventory, or select an existing entry. At wide widths, the inventory is on the left and the selected editor is on the right; narrow layouts stack them in that order.
  2. Set a descriptive Name, Provider, endpoint and the provider's connection/authentication fields. Review the receiving service and its data handling before enabling export.
  3. Under Advanced transport, check enabled signals, protocol, metric temporality and exact signal URLs. A base endpoint receives /v1/traces or /v1/metrics; exact signal URLs are used unchanged. Keep TLS certificate verification enabled; use a trusted CA certificate where required.
  4. Enable the intended destinations and the master Send telemetry switch, then Save changes. The master requires at least one enabled destination. Additions, removals and edits are drafts until the complete list is saved; a rejected list does not partially replace the saved configuration.
  5. Inspect Effective now, available exporter diagnostics and actual receiving-service evidence. A saved configuration, active SDK or successful settings response does not prove ingestion. This review did not verify a live collector.

The provider presets are OpenObserve, Grafana Tempo, Grafana Cloud, Jaeger, SigNoz, Uptrace, Elastic, Datadog, New Relic, Honeycomb, Splunk and Custom OTLP. Presets supply configuration defaults, not a guarantee of hosted-service compatibility. Tempo and Jaeger are trace-only. Splunk direct mode is trace-only and requires the exact traces URL ending in /v2/trace/otlp; collector mode can export both signals. Direct Datadog requires the service's exact URL for each enabled signal (traces and metrics use different hosts) and delta metrics. Site and Realm are reference fields, not URL generators. OpenObserve adds the organization to its OTLP base path. Use the provider's actual ingest settings rather than guessing URLs.

Authentication headers accepts comma-separated, percent-encoded key=value pairs; explicit headers override generated provider headers. Saved credentials and headers are write-only: leave them blank to preserve them for the same destination ID and provider, or use the explicit removal checkbox. Changing an endpoint can therefore send preserved credentials to the new endpoint—verify the destination before saving. Changing provider or destination identity does not inherit the former secrets. Provider switches discard unsaved secret drafts. No saved secret value is shown in the inventory or returned by the settings API.

Saved settings and environment overrides​

Saved destinations and active overrides are shown separately. BURROW_OTEL_ENABLED controls only the master switch. A generic or signal-specific OTLP endpoint/header override selects one effective environment transport instead of broadcasting environment credentials to the saved list. Saving does not replace active overrides. Generic and signal-specific environment headers are combined, with signal-specific names winning. See the environment reference and settings API for exact compatibility rules.

An older single-endpoint configuration appears as an Existing single-endpoint connection / Custom OTLP entry until adopted by a destination-list save; the original provider was not recorded and must not be inferred from its URL. Saving an empty list with export off remains empty across restart. Settings changes apply live to Core, but matching Node Goblin/gateway packages must support the new destination and per-operation transport contract. Saving Core settings is not proof that a remote package was upgraded.

OTel is a curated external projection; PostgreSQL history, Archive and local receipts remain the authoritative evidence. Prompts, answers, tool arguments/output, credentials, private file paths, raw errors and secret-bearing URLs are excluded from this projection. Local diagnostic artifacts can still contain sensitive evidence and need review before sharing.

burrow.model.request spans retain available input/output/total/cache-read usage before ending. The same normalized usage feeds cumulative burrow.model.tokens: use rates or increases, not sums of successive samples. Cached input is a subset of input, not extra usage. Missing/invalid values are omitted, reported zero is retained, and cost is not inferred. One logical tool execution produces one logical tool span/count/duration; subprocess work is not a second logical tool. Delegated child work retains parent correlation without adding trace carriers to prompts.

Changing or disabling export affects new independent runs. Existing runs and their children retain their exporter generation until they drain, including new process/filesystem operations started by those older runs after the change. A child keeps its generation independently if its parent finishes first. Shutdown remains bounded; disabling settings does not erase already exported data. Exporter failures have independent service-log diagnostics.

The owning run span receives burrow.model.recovery events with curated burrow.model.recovery.* attributes for state, method, attempt bounds, original/last failure and safe failover blocker. Failed request spans keep their observed status even if a later attempt succeeds. The newer provider responsiveness instruments below are separate from these recovery events. See bounded recovery.

Native OpenAI pool metrics​

The footer and GET /api/metrics/provider-pools report rolling 24-hour/7-day native OpenAI LB completed-request windows. Anthropic pools and direct model calls are excluded. Token totals include reported usage from every attempt; missing fields remain unknown and coverage exposes partial reporting. Cached tokens are part of input, not additional tokens. Errors count final failures, not successful failover; cancellations remain in the denominator. Footer instructions explain the display.

When tracing and OTel export are active, burrow.provider_pool.requests and burrow.provider_pool.duration describe logical calls. burrow.provider_pool.tokens attributes reported input/output/cached usage to pool/account/model/outcome. It is separate from existing transport burrow.model.tokens; do not add both series as independent usage. Unknown token counts are omitted. This source review does not verify delivery to a collector.

Current OTel runtime exposes bounded overall and per-destination exporter failures and dropped-item counts, plus safe lastExportFailure fields (signal, fixed category and numeric HTTP status when known). OTLP partial-success rejection counts appear as rejectedItems; a positive count increments failure/drop counters, while a warning-only response does not drop accepted items. Raw collector bodies, warnings and headers are not exposed by these diagnostics. The settings UI shows whether telemetry is active and whether overrides apply. These counters still do not prove ingestion; inspect each destination without sharing authentication headers.

Diagnostic API access​

A diagnostics:read token is limited to the server's allowed GET routes. It is not a general chat/settings API credential. Token creation/revocation belongs to an authenticated operator, and some read surfaces remain outside the token allowlist. See authentication and API reference.

Do not publish tokens, complete provider requests, attachment contents, or raw trace archives in an issue. Redaction does not make every operational artifact safe to share. Progress can contain commands, paths, queries, and error text.

Maintenance tools and limitations​

The source includes health-check.mjs, service-smoke.mjs, operational-audit.mjs, and a standalone trace viewer. Their roles differ:

ToolPurposeCaveat
Health checkFetch/status projectionOld summary fields may be irrelevant to current configuration
Service smokesystemd and HTTP checkUses system-level systemctl, not the normal user unit
Operational auditDoctor, service smoke, Git, retentionDoctor uses composed PostgreSQL stores and can apply migrations; audit still depends on service scope/Git
Trace UILocal filesystem trace summaryLoopback port 8765 and cwd/traces; not the main UI/database authority

For production acceptance, use the correct supervisor scope, authenticated API evidence where needed, and an actual representative request. See troubleshooting and procedures.

Targeted source review​

The full page was reconciled statically on 8 November 2026 against the current source pins in source coverage. Links below retain historical revision evidence. No application, database, provider or collector test was run.

Queued inputs, side questions, previews and events​

Active-run summaries distinguish main and side-question lanes; correlate by agent/session/run identity rather than mixing their activity. Inspect explicit chat input status and terminal result after acceptance. A side-question result is a frozen historical view, not a fresh inspection. Compaction progress reports started/completed/failed; a no-op can complete with compressed:false. Retained compaction receipts and context-meter refresh show rotation outcome rather than implying a model answered.

Workflow event views separate GitHub conclusion from Burrow handling status; accepted or interrupted work requires its actual run evidence. A ready webhook receiver proves local signature setup only. Dream previews do not save memories/settings, but nonempty previews retain filesystem request/response/lifecycle diagnostics under normal evidence retention. Do not publish those artifacts without reviewing their contents.

28 October development delta​

Changed behavior above was checked statically against Backend a04acb16b0eab2a910c3ef0fb452622df81a05cb on 2026-10-28. This is not a live provider, database or collector test, nor a revalidation of unchanged historical sections. See source coverage.

29 October development delta​

Multi-destination export, settings, generation ownership and exporter diagnostics above were checked statically against Backend 4057b50a5d5a9b14d36bb3b70f35781c4b29a9b9 and UI daa914ae80ed154ce39a76d0b8ca5f84aa278b21 on 2026-10-29. No collector, remote gateway or application runtime was exercised. Unchanged historical sections retain their earlier qualifications. See source coverage.

Operational timing and measured responsiveness​

Current Core exports additional observations to the existing enabled destinations; no new collector connection is required. All measured durations below are milliseconds.

  • burrow.model.requests / duration describe physical provider requests, including retries. burrow.model.ttft measures fetch invocation to first parsed nonempty streaming thought, text or tool content; burrow.model.first_delta distinguishes those kinds. Headers, heartbeats and terminal-only snapshots are not first content. Non-streaming or missing-delta responses have no TTFT sample, not zero.
  • burrow.provider_pool.request.ttft covers a logical invocation including earlier failed attempts; burrow.provider_pool.ttft and attempt.duration cover one physical account attempt. Retry/failover counts and persisted cooldown-window observations retain that distinction. A successful later account does not rewrite the earlier failure. Cooldown expiry is not continuously polled or claimed as recovery.
  • Context usage/budget/pressure and compaction counts/durations retain measured-versus-estimated provenance. Usage follows the latest physical request, using matching response input tokens when available and its request estimate otherwise, not a run high-water mark. A new request clears old response evidence; uncorrelated legacy readings remain historical. Pressure classifies the token/budget ratio, not run health or provider acceptance. Compaction before/after values are conversation estimates, not measured provider-token savings; failed or stale rotations do not claim after values.
  • Queue pending/oldest-age/wait and recovery transitions/outcomes expose observed durable work. A failed queue read is unavailable, not an empty queue. Only an actual cancellation grace deadline establishes overdue drain; elapsed run age alone never means stuck.
  • Database pool-wait/query-duration, event-loop lag, process/filesystem dispatch timing, explicit execution/MCP disconnect-reconnect evidence, and fixed authentication outcome categories distinguish dependencies. Dispatch observations are not an idle host monitor. Ordinary session-cookie checks are not new logins.

Pool and generic token counters are views of the same usage, not additive totals. Cached input is already included in normalized input. Unknown values remain absent; explicit measured zero remains zero. Run/request IDs and readable names are trace-only; curated metric dimensions exclude prompts, commands, SQL, arguments/results, secret-bearing URLs and raw errors.

These are source-backed instrument contracts, not proof of collector ingestion. Check the exact installed build and receiving-service samples. Source: Core bea2171508d1821440ed5c554a688768848699c9, operational/provider exporters and producer call sites; no application/provider tests were run for this documentation pass.

3 November development delta​

The changed context observations and destination layout above were checked statically against Backend 32dde3266a231777ddfec6dba141d6b9972a21fd and UI 4a17a8c73c588a7582835ca6ff50dcabe409c33c on 2026-11-03. No application, provider or database tests were run; unchanged historical sections retain their earlier qualifications. See source coverage.

Native Minion evidence​

Burrow Minions use the Core model/tool loop; native Codex, Claude and Gemini Minions do not. Native activity/session linkage and sanitized reports remain visible, but their command outputs and model text are not promoted into independently verified Core tool receipts. Do not infer full native per-tool/token export or collector ingestion from a successful child report. Verify actual changes and each harness’s continuation/cleanup evidence separately. See native Minions.

Sunday source checkpoint: 15 November 2026​

This page was fully reconciled statically against the current implementation baseline. Earlier dated sections and public-source links retain their historical scope. No application/provider execution or installed-instance verification is implied.

Current diagnostic boundaries and native observations​

Checked 17 November 2026: operational failures retain classified error code/type/stage instead of raw parser, SQL, provider payload or filesystem-path text. Corrupt stored metadata/retention policies are errors, not absent-value defaults. Failed mod discovery is not an empty successful catalog, and malformed provider-usage envelopes do not become successful cached samples. Use correlation and the reported stage to distinguish configuration, transport, parsing and execution failures.

Native Minion telemetry now reports sanitized invocation, recognized tool activity and available native usage observations through configured OpenTelemetry destinations. Unknown plugin tool names are generalized. Native stdout/tool payloads, paths, credentials, arbitrary labels and native IDs are not exported as telemetry dimensions. Requested and reported model provenance remain distinct; incomplete usage is not zero usage. These are native CLI observations, not Burrow-verified effects or evidence of collector ingestion. Process failures may retain bounded redacted stderr, error stage, exit code and signal in local diagnostics; ambiguous cleanup still prevents blind retry.

Inspect a historical provider request​

Checked 18 November 2026: Archive → Proof → Redacted provider requests exposes the captured requests for the selected run in recorded order, including continuation calls. Expand the section to fetch metadata, then select a request to load its redacted body. Compare requests provides two selectors for manual before/after inspection. This is saved request evidence, not a reconstruction from today's profile/settings, and does not fetch missing provider-held conversation history.

Bodies have a fixed three-day retention window, separate from longer-lived run/conversation evidence. The list can remain while a body is expired, not_captured or unavailable; no requests recorded is a separate result. Historical bodies receive current structured redaction again when read. Redacted requests can still contain private conversation, identity/profile material and tool evidence, so do not publish them without review. The read-only API uses Cache-Control: no-store; that is not an erasure guarantee for copies already made.

Archive Proof search now reaches retained server-side summaries, including run IDs, and keeps pagination bound to the query and agent/session scope. Tool-evidence reads use indexed retained-run access instead of reconstructing all conversations; this changes the read path, not proof semantics or retention guarantees. No live latency benchmark is implied.

Relocated captures and incomplete retention evidence​

Checked 19 November 2026: provider-request reads can resolve an exact saved request filename under its current run's artifacts directory after a portable move. A legacy absolute pointer is checked as identity evidence, not opened at its former installation path. Mismatched run/request identity, symlinked artifacts, inaccessible files and malformed/non-object JSON are unavailable, not usable captures. Metadata availability now validates the body too. Three-day expiry and current structured redaction remain unchanged; private content can still remain after redaction.

Retention planning reports unmarkedTraces and unmarkedTraceBytes separately. These lack terminal eligibility evidence; their age or byte contribution alone does not authorize whole-trace deletion. Cleanup rechecks terminal eligibility and current containment under the writer guard. Do not manually infer that an old unmarked trace is safe to delete merely because it appears in the totals.