Logging and metrics
Logs tell you what happened in one turn; metrics tell you how often and how fast across all of them. See what ADK logs at each level, which GenAI metrics it records, and how to export both.
10 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 10 minutes.
Written from the official documentation
In this module: Deploy and observe
- Deploy to Agent RuntimeGoogle Cloud's managed home for ADK agents.Pro
- Deploy to Cloud Run and GKEContainers you control.Pro
- OpenTelemetry in ADKThe traces and spans ADK emits, and where to send them.Pro
- Logging and metricsSeeing inside a production agent.Pro
- Third-party observabilityPhoenix, Langfuse, Arize, Datadog and others.Pro