Set up tracing on Agent Runtime
Three environment variables at deploy time decide what an ADK agent on Agent Runtime sends to Cloud Trace and Cloud Logging. Deploy with telemetry only, then with content capture, then in a project missing the Telemetry API, and see what each one shows you.
9 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 9 minutes.
In this module: Observability with OpenTelemetry
- OpenTelemetry for agentsTraces, spans and attributes, from first principles.Pro
- Set up tracing on Agent RuntimeSending agent traces to Cloud Trace.Pro
- Logging and monitoringLogs, metrics and dashboards for deployed agents.Pro
- Reading agent tracesFinding the slow, failing or expensive step.Pro
- Monitoring gateway trafficGateway metrics and Model Armor spans.Pro