Skip to main content
05.05.2025

OpenInference Google GenAI Instrumentation

We’ve added a Python auto-instrumentation library for the Google GenAI SDK. This enables seamless tracing of GenAI workflows with full OpenTelemetry compatibility. Traces can be exported to any OpenTelemetry collector.

Installation

pip install openinference-instrumentation-google-genai
For more details on how to set up the tracing integration seamlessly:

openinference-instrumentation-google-genai

GitHub
Additionally, the Google GenAI instrumentor is now supported and works seamlessly with Span Replay in Phoenix, enabling deep trace inspection and replay for more effective debugging and observability.

Google GenAI | Phoenix

GitHub

Acknowledgements

Big thanks to Harrison Chu for his contributions.