Phoenix Otel Development
Developmentphoenix-otel-developmentPhoenix Otel Development is an Agent Skill for development published in the Arize-ai/phoenix repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Guide for the phoenix-otel TypeScript package — OTel registration, stack-based global provider management, and provider lifecycle.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/Arize-ai/phoenix/blob/HEAD/js/packages/phoenix-otel/.agents/skills/phoenix-otel-development/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/phoenix-otel-development, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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 file | When 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.