OpenTelemetry for GenAI
Your team traces with one vendor's SDK. Then the agent framework you adopt emits spans in its own format, the gateway in a third, and switching tracing tools means re-instrumenting everything. OpenTelemetry is the shared shape for telemetry, and its GenAI conventions agree on what a model call span is called and which fields it carries.
In this lesson you'll learn to
- Explain what OpenTelemetry is, from the API and SDK to OTLP and the Collector, and why it prevents lock-in.
- Use the GenAI semantic conventions to name model, tool and agent spans and their attributes.
- Decide when to capture prompt and response content, and how to check and set each library's default.
- Set up an instrumentation and export pipeline, and know what to check when the standard is still changing.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.