# Phoenix Otel Development

> Phoenix 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.

- Skill name: `phoenix-otel-development`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/Arize-ai/phoenix/blob/HEAD/js/packages/phoenix-otel/.agents/skills/phoenix-otel-development/SKILL.md
- Repository: Arize-ai/phoenix (10,577 GitHub stars when collected)

## SKILL.md

# 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

```bash
cd js/
pnpm --filter phoenix-otel test
```

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

---

Source: https://www.openparable.com/skill/development/phoenix-otel-development (OpenParable). Cite the canonical URL above.
