
This is your complete reference for instrumenting LLM apps with Phoenix's OpenInference tracing. It covers both Python and TypeScript, walking you through auto-instrumentation for popular frameworks like OpenAI and LangChain, plus manual span creation when you need fine-grained control. The real value is in the nine span type specs (LLM, chain, retriever, tool, agent, etc.) with full attribute schemas, so you know exactly what metadata to attach. Production patterns for batching and PII masking are here too. If you're shipping an LLM app and need observability beyond print statements, this gives you the complete OpenInference implementation without hunting through docs.
$ npx -y skills add github/awesome-copilot --skill phoenix-tracing --agent claude-codeInstalls into .claude/skills of the current project.
Comprehensive guide for instrumenting LLM applications with OpenInference tracing in Phoenix. Contains reference files covering setup, instrumentation, span types, and production deployment.
Reference these guidelines when:
| Priority | Category | Description | Prefix |
|---|---|---|---|
| 1 | Setup | Installation and configuration | setup-* |
| 2 | Instrumentation | Auto and manual tracing | instrumentation-* |
| 3 | Span Types | 9 span kinds with attributes | span-* |
| 4 | Organization | Projects and sessions | projects-*, sessions-* |
| 5 | Enrichment | Custom metadata | metadata-* |
| 6 | Production | Batch processing, masking | production-* |
| 7 | Feedback | Annotations and evaluation | annotations-* |
Navigation Patterns:
# By category prefix
references/setup-* # Installation and configuration
references/instrumentation-* # Auto and manual tracing
references/span-* # Span type specifications
references/sessions-* # Session tracking
references/production-* # Production deployment
references/fundamentals-* # Core concepts
references/attributes-* # Attribute specifications
# By language
references/*-python.md # Python implementations
references/*-typescript.md # TypeScript implementations
Reading Order:
Phoenix Documentation:
Python API Documentation:
arize-phoenix-otel API referencearize-phoenix-client API referenceTypeScript API Documentation:
@arizeai/phoenix-otel, @arizeai/phoenix-client, and other TypeScript packagesSponsors