Loading...
Loading...
OpenInference semantic conventions and instrumentation for Phoenix AI observability. Use when implementing LLM tracing, creating custom spans, or deploying to production.
npx skill4agent add arize-ai/phoenix phoenix-tracing| Priority | Category | Description | Prefix |
|---|---|---|---|
| 1 | Setup | Installation and configuration | |
| 2 | Instrumentation | Auto and manual tracing | |
| 3 | Span Types | 9 span kinds with attributes | |
| 4 | Organization | Projects and sessions | |
| 5 | Enrichment | Custom metadata | |
| 6 | Production | Batch processing, masking | |
| 7 | Feedback | Annotations and evaluation | |
setup-pythonsetup-typescriptinstrumentation-auto-pythoninstrumentation-auto-typescriptinstrumentation-manual-pythoninstrumentation-manual-typescriptspan-llmspan-chainspan-retrieverspan-toolspan-agentspan-embeddingspan-rerankerspan-guardrailspan-evaluatorprojects-pythonprojects-typescriptsessions-pythonsessions-typescriptmetadata-pythonmetadata-typescriptproduction-pythonproduction-typescriptannotations-overviewannotations-pythonannotations-typescriptfundamentals-overviewfundamentals-required-attributesfundamentals-universal-attributesfundamentals-flatteningattributes-messagesattributes-metadataattributes-graphattributes-exceptions| Attribute | Purpose | Example |
|---|---|---|
| Span type (required) | |
| Operation input | JSON or text |
| Operation output | JSON or text |
| User identifier | |
| Conversation ID | |
| Model identifier | |
| Token usage | |
| Tool/function name | |
setup-{lang}instrumentation-auto-{lang}setup-{lang}instrumentation-manual-{lang}span-{type}production-{lang}rules/rules/setup-python.md
rules/instrumentation-manual-typescript.md
rules/span-llm.mdls rules/span-* # Span type specifications
ls rules/*-python.md # Python guides
ls rules/*-typescript.md # TypeScript guidesarize-phoenix-otelarize-phoenix-client@arizeai/phoenix-otel@arizeai/phoenix-client