Skip to content

feat(phoenix): add otel backend preset#1280

Draft
christso wants to merge 2 commits into
mainfrom
docs/phoenix-integration-completion-plan
Draft

feat(phoenix): add otel backend preset#1280
christso wants to merge 2 commits into
mainfrom
docs/phoenix-integration-completion-plan

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Jun 3, 2026

Summary

Adds the first Phase A slice from the Phoenix integration completion plan:

  • Adds a phoenix OTel backend preset for normal agentv eval runs.
  • Documents Phoenix as two surfaces: live OTLP trace export and the repo-local dataset/experiment adapter.
  • Updates CLI help, Phoenix adapter support notes, e2e notes, and the AI-facing config schema reference.

Handoff Tracking

Related parent tracker: #1281

Follow-up subissues:

This PR does not close #1281. It lands the plan plus the first supported Phoenix OTel export slice.

Details

The preset defaults to local Phoenix at http://localhost:6006/v1/traces, normalizes PHOENIX_COLLECTOR_ENDPOINT without duplicating /v1/traces, adds bearer auth from PHOENIX_API_KEY, and sets x-project-name from PHOENIX_PROJECT_NAME or PHOENIX_PROJECT when present.

Validation

  • bun test test/observability/otel-exporter.test.ts in packages/core: 29 pass
  • bun --filter @agentv/core typecheck
  • bun --filter @agentv/core build
  • bun --filter agentv typecheck
  • bun --filter @agentv/web build
  • bun run lint
  • bun apps/cli/src/cli.ts eval run --help | rg -n "otel-backend|phoenix|export-otel"
  • Pre-push hook passed on git push: build, typecheck, lint, test, and example YAML validation

Notes

Live Phoenix UAT was not run in this session because it requires a running Phoenix server. The docs and e2e notes describe the command to use for local or hosted Phoenix verification.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8dde433
Status: ✅  Deploy successful!
Preview URL: https://31e4a440.agentv.pages.dev
Branch Preview URL: https://docs-phoenix-integration-com.agentv.pages.dev

View logs

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.

feat(phoenix): complete AgentV Phoenix integration

1 participant