Skip to content

docs(research): instrumentation providers proposal - #1799

Open
chadhietala wants to merge 1 commit into
mainfrom
research/instrumentation-providers
Open

docs(research): instrumentation providers proposal#1799
chadhietala wants to merge 1 commit into
mainfrom
research/instrumentation-providers

Conversation

@chadhietala

@chadhietala chadhietala commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Adds research/instrumentation-providers.md — the instrumentation providers proposal, written so it can be shared outside the repo for feedback (Braintrust in particular, since a non-OTel backend is the case the current surface serves worst).

The problem. eve's one public observability extension point assumes OpenTelemetry. Authoring agent/instrumentation.ts calls registerOTel, which takes the process's single global tracer provider slot, so eve stops installing local tracing rather than collide with it. Two OTel backends in one setup silently exports from one of them. A backend that records rows rather than spans has no surface at all, so the Braintrust integration reconstructs execution from the runtime event stream — the protocol that renders a conversation.

The proposal. eve owns the pipeline and exposes the lifecycle bus underneath it. instrumentation/ becomes a directory, one provider per file, the way tools/ and hooks/ already work. OTel is one provider on the bus and the only one that builds a tracer provider; its per-process singletons (instrumentation/otel.ts) split from its destinations (instrumentation/<backend>.ts). Local traces and Agent Runs stay on regardless, with two reserved filenames to disable or narrow them. Providers get durable per-operation state and a replay-stable idempotencyKey, which is what a row backend needs and currently hand-rolls.

Docs-only; no changeset. pnpm docs:check passes.

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
eve-docs Ready Ready Preview Aug 7, 2026 5:25pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
eve-docs-4759 Skipped Skipped Aug 7, 2026 5:25pm

Documents the proposal to have eve own the OpenTelemetry pipeline and
expose the lifecycle bus underneath it, so local tracing and Agent Runs
stay on when an agent brings a backend of its own, and a backend that is
not OpenTelemetry has a provider surface to build against.

Signed-off-by: Chad Hietala <chadhietala@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant