phoenix-tracing

Implement OpenInference tracing standards for Phoenix observability in Python and TypeScript.

11.0k|1.0k|Updated Nov 9, 2022
One-click install
npx skills add https://github.com/Arize-ai/phoenix --skill phoenix-tracing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phoenix-tracing
Source: https://github.com/Arize-ai/phoenix/tree/main/skills/phoenix-tracing
Command: npx skills add https://github.com/Arize-ai/phoenix --skill phoenix-tracing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Standardized OpenInference span semantics for LLM, CHAIN, RETRIEVER, TOOL, GUARDRAIL, and EVALUATOR kinds.
  • Comprehensive guidance linking to Phoenix docs, OpenInference specs, and language-specific references (Python and TypeScript).
  • Production readiness: instrumentation setup, batch processing, and privacy considerations for deployments.

Quick Start

Review SKILL.md and follow the Quick Start to enable Phoenix OpenInference tracing in your Python or TypeScript project.

Frequently Asked Questions about phoenix-tracing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement OpenInference tracing for LLM observability?

OpenInference tracing for LLM observability is implemented by following structured rules for span semantics, covering LLM, CHAIN, RETRIEVER, TOOL, GUARDRAIL, and EVALUATOR kinds. This ensures consistent, production-ready tracking across Python and TypeScript.

What is the best way to set up Phoenix instrumentation for production deployments?

Production deployments using Phoenix instrumentation require standardized setup procedures for tracing spans, batch processing, and privacy considerations. Following the provided Quick Start guidance ensures proper SDK integration and production readiness.

Does Phoenix tracing support both Python and TypeScript SDKs?

Phoenix tracing supports both Python and TypeScript SDKs, providing comprehensive language-specific references and integration rules. This allows consistent observability across different development environments.

What semantic conventions are used for custom span instrumentation in Phoenix?

Custom span instrumentation in Phoenix uses OpenInference semantic conventions, categorizing spans into LLM, CHAIN, RETRIEVER, TOOL, GUARDRAIL, and EVALUATOR kinds. This standardization enables consistent observability across various components.

When do I need OpenInference tracing standards for my AI application?

OpenInference tracing standards are needed when implementing LLM tracing, creating custom spans, or deploying AI applications to production. They provide the necessary observability for tracking tool invocations, retrieval processes, and orchestration logic.