Install any skill in seconds. Free to start, no credit card required.
Get Started Free →OpenInference semantic conventions and instrumentation for Phoenix AI observability. Use when implementing LLM tracing, creating custom spans, or deploying to production.
.claude/skills/phoenix-tracing/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 147% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-21 | ✓→✗ | ▼ Worse | 36% | 0% |
| case-08 | ✓→✓ | = Same ✓ | 264% | 0% |
| case-13 | ✓→✓ | = Same ✓ | 229% | 0% |
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:
bash# 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 packages| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-08 | pass→pass | 2,828 | 3,276 | +16% | 1 | 1 | 0% | 579 | 2,108 | +264% | 0 | 0 | — |
case-01 | fail→fail | 20,772 | 15,651 | -25% | 1 | 1 | 0% | 4,649 | 4,843 | +4% | 0 | 0 | — |
case-02 | fail→pass | 4,777 | 5,184 | +9% | 1 | 1 | 0% | 1,016 | 2,507 | +147% | 0 | 0 | — |
case-03 | fail→pass | 8,976 | 3,248 | -64% | 1 | 1 | 0% | 1,814 | 2,082 | +15% | 0 | 0 | — |
case-13 | pass→pass | 3,956 | 5,000 | +26% | 1 | 1 | 0% | 750 | 2,466 | +229% | 0 | 0 | — |
case-04 | pass→pass | 5,150 | 6,436 | +25% | 1 | 1 | 0% | 971 | 2,607 | +168% | 0 | 0 | — |
case-05 | pass→pass | 8,474 | 6,455 | -24% | 1 | 1 | 0% | 1,706 | 2,735 | +60% | 0 | 0 | — |
case-06 | pass→pass | 3,099 | 2,890 | -7% | 1 | 1 | 0% | 623 | 2,007 | +222% | 0 | 0 | — |
case-07 | pass→pass | 5,351 | 3,156 | -41% | 1 | 1 | 0% | 1,092 | 2,106 | +93% | 0 | 0 | — |
case-09 | pass→pass | 4,300 | 3,698 | -14% | 1 | 1 | 0% | 878 | 2,281 | +160% | 0 | 0 | — |
case-10 | pass→pass | 6,125 | 6,680 | +9% | 1 | 1 | 0% | 1,246 | 2,707 | +117% | 0 | 0 | — |
case-11 | pass→pass | 6,804 | 8,511 | +25% | 1 | 1 | 0% | 1,312 | 3,221 | +146% | 0 | 0 | — |
case-12 | pass→pass | 5,283 | 4,283 | -19% | 1 | 1 | 0% | 1,132 | 2,475 | +119% | 0 | 0 | — |
case-14 | pass→pass | 7,264 | 4,400 | -39% | 1 | 1 | 0% | 1,595 | 2,260 | +42% | 0 | 0 | — |
case-15 | pass→pass | 7,571 | 7,972 | +5% | 1 | 1 | 0% | 1,571 | 3,094 | +97% | 0 | 0 | — |
case-16 | pass→pass | 12,301 | 9,032 | -27% | 1 | 1 | 0% | 2,283 | 3,420 | +50% | 0 | 0 | — |
case-17 | pass→pass | 9,438 | 8,432 | -11% | 1 | 1 | 0% | 2,062 | 3,431 | +66% | 0 | 0 | — |
case-18 | pass→pass | 15,956 | 11,148 | -30% | 1 | 1 | 0% | 3,200 | 3,866 | +21% | 0 | 0 | — |
case-19 | pass→pass | 9,768 | 7,295 | -25% | 1 | 1 | 0% | 2,142 | 3,058 | +43% | 0 | 0 | — |
case-20 | pass→pass | 14,940 | 11,546 | -23% | 1 | 1 | 0% | 2,844 | 4,204 | +48% | 0 | 0 | — |
case-21 | pass→fail | 15,436 | 13,907 | -10% | 1 | 1 | 0% | 2,963 | 4,035 | +36% | 0 | 0 | — |
case-22 | pass→pass | 15,517 | 12,556 | -19% | 1 | 1 | 0% | 3,329 | 3,983 | +20% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +5 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/24/2026 | +18% |
Other measured skills in the registry, with their headline benchmark lift.