05.05.2025-openinference-google-genai-instrumentation.md•997 B
# 05.05.2025: OpenInference Google GenAI Instrumentation
{% embed url="https://storage.googleapis.com/arize-phoenix-assets/assets/videos/genai.mp4" %}
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
```bash
pip install openinference-instrumentation-google-genai
```
For more details on how to set up the tracing integration seamlessly:
{% embed url="https://arize.com/docs/phoenix/tracing/integrations-tracing/google-gen-ai" %}
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.
{% embed url="https://pypi.org/project/openinference-instrumentation-google-genai/" %}
### Acknowledgements
Big thanks to Harrison Chu for his contributions.