arize-ai/phoenixApache-2.033 files

Phoenix Tracing

OpenInference semantic conventions and instrumentation for Phoenix AI observability. Use when implementing LLM tracing, creating custom spans, or deploying to production.

Specification
Skill ID
arize-ai/phoenix/phoenix-tracing
Publisher
arize-ai
Repository
phoenix
Installs
0
Files
33
License
Apache-2.0
Requires
Requires Phoenix server. Python skills need arize-phoenix-otel; TypeScript skills need @arizeai/phoenix-otel.
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

arize-ai/phoenix/phoenix-tracingInstalls these files
  • README.md
  • SKILL.md
  • references/annotations-overview.md
  • references/annotations-python.md
  • references/annotations-typescript.md
  • references/fundamentals-flattening.md
  • references/fundamentals-overview.md
  • references/fundamentals-required-attributes.md
  • references/fundamentals-universal-attributes.md
  • references/instrumentation-atif-python.md
  • references/instrumentation-auto-python.md
  • references/instrumentation-auto-typescript.md
  • references/instrumentation-manual-python.md
  • references/instrumentation-manual-typescript.md
  • references/metadata-python.md
  • references/metadata-typescript.md
  • references/production-python.md
  • references/production-typescript.md
  • references/projects-python.md
  • references/projects-typescript.md
  • references/sessions-python.md
  • references/sessions-typescript.md
  • references/setup-python.md
  • references/setup-typescript.md
  • references/span-agent.md
  • references/span-chain.md
  • references/span-embedding.md
  • references/span-evaluator.md
  • references/span-guardrail.md
  • references/span-llm.md
  • references/span-reranker.md
  • references/span-retriever.md
  • references/span-tool.md

What this skill tells the agent

Phoenix Tracing

Comprehensive guide for instrumenting LLM applications with OpenInference tracing in Phoenix. Contains reference files covering setup, instrumentation, span types, and production deployment.

When to Apply

Reference these guidelines when:

  • Setting up Phoenix tracing (Python or TypeScript)
  • Creating custom spans for LLM operations
  • Adding attributes following OpenInference conventions
  • Deploying tracing to production
  • Querying and analyzing trace data

Reference Categories

PriorityCategoryDescriptionPrefix
1SetupInstallation and configurationsetup-*
2InstrumentationAuto and manual tracinginstrumentation-*
3Span Types9 span kinds with attributesspan-*
4OrganizationProjects and sessionsprojects-*, sessions-*
5EnrichmentCustom metadatametadata-*
6ProductionBatch processing, maskingproduction-*
7FeedbackAnnotations and evaluationannotations-*

Quick Reference

1. Setup (START HERE)

  • setup-python - Install arize-phoenix-otel, configure endpoint
  • setup-typescript - Install @arizeai/phoenix-otel, configure endpoint

2. Instrumentation

  • instrumentation-auto-python - Auto-instrument OpenAI, LangChain, etc. (also covers OTel GenAI native instrumentation)
  • instrumentation-auto-typescript - Auto-instrument supported frameworks
  • instrumentation-manual-python - Custom spans with decorators
  • instrumentation-manual-typescript - Custom spans with wrappers
  • instrumentation-atif-python - Import ATIF agent trajectories (Claude Code, OpenHands, Codex, etc.)

3. Span Types (with full attribute schemas)

  • span-llm - LLM API calls (model, tokens, messages, cost)
  • span-chain - Multi-step workflows and pipelines
  • span-retriever - Document retrieval (documents, scores)
  • span-tool - Function/API calls (name, parameters)
  • span-agent - Multi-step reasoning agents
  • span-embedding - Vector generation
  • span-reranker - Document re-ranking
  • span-guardrail - Safety checks
  • span-evaluator - LLM evaluation

4. Organization

  • projects-python / projects-typescript - Group traces by application
  • sessions-python / sessions-typescript - Track conversations

5. Enrichment

  • metadata-python / metadata-typescript - Custom attributes

6. Production (CRITICAL)

  • production-python / production-typescript - Batch processing, PII masking

7. Feedback

  • annotations-overview - Feedback concepts
  • annotations-python / annotations-typescript - Add feedback to spans

Reference Files

  • fundamentals-overview - Traces, spans, attributes basics
  • fundamentals-required-attributes - Required fields per span type
  • fundamentals-universal-attributes - Common attributes (user.id, session.id)
  • fundamentals-flattening - JSON flattening rules

Common Workflows

  • Quick Start: setup-{lang} → instrumentation-auto-{lang} → Check Phoenix
  • Custom Spans: setup-{lang} → instrumentation-manual-{lang} → span-{type}
  • Session Tracking: sessions-{lang} for conversation grouping patterns
  • Production: production-{lang} for batching, masking, and deployment

How to Use This Skill

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

# By language
references/*-python.md          # Python implementations
references/*-typescript.md      # TypeScript implementations

Reading Order:

  1. Start with setup-{lang} for your language
  2. Choose instrumentation-auto-{lang} OR instrumentation-manual-{lang}
  3. Reference span-{type} files as needed for specific operations
  4. See fundamentals-* files for attribute specifications

References

Phoenix Documentation:

Python API Documentation:

TypeScript API Documentation:

  • TypeScript Packages - @arizeai/phoenix-otel, @arizeai/phoenix-client, and other TypeScript packages

Use this skill in a project

Open any RiverX project, search the Skills panel for arize-ai/phoenix/phoenix-tracing, and install it in one click.

Use this skill