{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/2"}],"enrichment":{"capability":"Automatically traces and logs OpenAI API calls (and compatible platforms like Azure OpenAI, Gemini, Groq) with OpenTelemetry, capturing request spans, token counts, and operation duration.","skillfed_tags":["observability","llm-monitoring","instrumentation"],"use_cases":["Monitor and debug OpenAI API calls in production applications by viewing traces of chat completions and embeddings.","Track token consumption across LLM operations for cost analysis and quota management.","Correlate LLM requests with other application traces in a centralized observability platform.","Audit and log prompt and completion content when compliance or debugging requires it.","Observe applications using OpenAI-compatible services (Groq, Gemini, etc.) with a single instrumentation."],"what_it_does":"This package integrates OpenTelemetry tracing into applications using the OpenAI Python SDK or compatible LLM platforms. When installed and initialized, it automatically captures spans for chat completions, embeddings, and other API operations, recording metrics like token usage and operation duration. It works with OpenAI-compatible services including Azure OpenAI, Gemini, Perplexity, xAI, DeepSeek, Groq, and MistralAI when accessed through the OpenAI SDK.\n\nThe instrumentation is configured via environment variables to control what telemetry is captured\u2014by default it traces operations without capturing message content, but you can enable content logging as events or span attributes. It requires an existing OpenTelemetry setup (tracing, logging, and events configured) to emit the captured telemetry. The package is in Beta status and aligns with OpenTelemetry Semantic Conventions v1.30.0, with experimental features available through opt-in environment variables.","worth_installing":"Yes, if you already have OpenTelemetry configured in your application and need visibility into OpenAI or compatible LLM API calls. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it safe to adopt. Not necessary if you have no OpenTelemetry setup or do not use the OpenAI SDK."},"id":"opentelemetry-instrumentation-openai-v2","links":{"html":"https://skillfed.io/packages/opentelemetry-instrumentation-openai-v2","md":"https://skillfed.io/packages/opentelemetry-instrumentation-openai-v2.md","pypi":"https://pypi.org/project/opentelemetry-instrumentation-openai-v2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-01","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"opentelemetry-instrumentation-openai-v2","python_support":"supports_current","summary":"OpenTelemetry Official OpenAI instrumentation"},"popularity":{"monthly_downloads":1897611,"position":3447,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.4b0"}
