OpenTelemetry OpenAI Instrumentation (v2)

JSON →
library 2.3b0 ·python
verified May 22, 2026

This library provides official OpenTelemetry instrumentation for the OpenAI Python API library (version 1.0.0 and above). It enables automatic tracing of LLM requests, capturing model name, token usage, finish reason, duration, and errors without modifying existing OpenAI client code. It also supports logging of messages and metrics, and is maintained as part of the OpenTelemetry Python Contrib project.

total hits 38
actors 8 distinct systems
last hit 1d ago human
ByteDance
14
Script
3
GPTBot
2
ClaudeBot
1
Search engines
1
Humans
2

top countries 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇷 France · 🇺🇸 United States · 🇫🇮 Finland