Skip to content

docs: add telemetry.dev instrumentation integration - #1325

Open
ephraimduncan wants to merge 3 commits into
vercel:mainfrom
ephraimduncan:feat/telemetry-dev-instrumentation
Open

docs: add telemetry.dev instrumentation integration#1325
ephraimduncan wants to merge 3 commits into
vercel:mainfrom
ephraimduncan:feat/telemetry-dev-instrumentation

Conversation

@ephraimduncan

@ephraimduncan ephraimduncan commented Jul 29, 2026

Copy link
Copy Markdown

Adds telemetry.dev as an instrumentation provider in the integrations directory and registry, installable with:

eve add instrumentation/telemetry-dev

telemetry.dev is an observability platform for AI agents: OpenTelemetry traces for every model call, tool step, and turn, with tokens, cost, and latency attached.

Two supported setups

The integration page documents both, and either works:

  1. Packaged (what eve add installs, following the Braintrust two-file pattern) — backed by the published @telemetry-dev/eve package (peer eve >=0.19.0 <1):
    • agent/instrumentation.ts — registers telemetry.dev as the OpenTelemetry provider via telemetryDevInstrumentation(), exporting eve's tracer scope and the AI SDK GenAI spans.
    • agent/hooks/telemetry-dev.tstelemetryDevHook() emits bounded lifecycle logs (session/turn/step, tool results, HITL, subagent and compaction events) joined to traces via gen_ai.conversation.id.
  2. Plain OTLP (no extra dependency, like the Honeycomb/Raindrop entries) — @vercel/otel's OTLPHttpProtoTraceExporter pointed at https://ingest.telemetry.dev/v1/traces with a Bearer header.

Configuration is a single TELEMETRY_DEV_API_KEY env var for both.

Changes

  • packages/eve-catalog: catalog entry (telemetry-dev, gallery only), placed before Jaeger so the local/self-hosted backend stays last.
  • apps/docs/registry/instrumentation/telemetry-dev.ts + telemetry-dev-hook.ts: registry scaffolds.
  • apps/docs/registry.json: instrumentation/telemetry-dev item with @telemetry-dev/eve dependency and TELEMETRY_DEV_API_KEY env var.
  • apps/docs/scripts/validate-instrumentation-registry.ts: slug mapping and hook-file expectation (mirrors the Braintrust special case).
  • apps/docs/lib/integrations/data.ts + logos.tsx: gallery presentation (both setup paths) and brand logo.
  • apps/docs/package.json + lockfile: @telemetry-dev/eve devDependency so the registry scaffolds typecheck.

Validation

  • pnpm run registry:check in apps/docs passes (shadcn build, connection/channel/instrumentation validators, registry tsc).
  • pnpm run test:unit in apps/docs: 17/17 passing.
  • oxfmt, oxlint, and syncpack lint clean on touched files.

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@ephraimduncan is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security

socket-security Bot commented Jul 29, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​telemetry-dev/​eve@​0.1.07510010086100

View full report

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
eve-pkg Skipped Skipped v0 Aug 22, 2026 7:37pm

@vercel
vercel Bot temporarily deployed to Preview – eve-pkg August 22, 2026 19:37 Inactive
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