Skip to main content

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#

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.