Overview
This guide shows you how to integrate Latitude Telemetry into an application that uses the Google Gemini Developer API (google-genai).
You’ll keep calling Gemini exactly as you do today. Telemetry simply
observes and enriches those calls.
Auto-instrumentation for Gemini is available in the Python SDK. For other
languages, send traces via the OpenTelemetry exporter.
Requirements
- A Latitude account and API key
- A Latitude project slug
- A project that uses the Gemini SDK (
google-genai) - A Gemini API key (set as
GEMINI_API_KEY)
Steps
Seeing Your Traces
Once connected, traces appear automatically in Latitude:- Open your project in the Latitude dashboard
- Each execution shows input/output messages, model, token usage, latency, and errors