Phoenix phoenix-otel-development

install
source · Clone the upstream repo
git clone https://github.com/Arize-ai/phoenix
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Arize-ai/phoenix "$T" && mkdir -p ~/.claude/skills && cp -r "$T/js/packages/phoenix-otel/.agents/skills/phoenix-otel-development" ~/.claude/skills/arize-ai-phoenix-phoenix-otel-development && rm -rf "$T"
manifest: js/packages/phoenix-otel/.agents/skills/phoenix-otel-development/SKILL.md
source content

Phoenix OTel Development

OpenTelemetry registration and provider lifecycle layer for Phoenix. Single source of truth for OTel configuration — other Phoenix packages delegate here rather than importing OTel packages directly.

Read existing code in the directory you're working in before writing new code.

Rule Files

Rule fileWhen to read
rules/global-provider-lifecycle.md
Global provider attachment, detachment, snapshot/restore, mount stack
rules/register-api.md
register()
, span processor setup, public API surface
rules/testing.md
Tests for provider lifecycle, registration, span export

Build and Test

cd js/
pnpm --filter phoenix-otel test

Dual-module output (CJS + ESM). Tests use vitest.