Logging and monitoring
Agent Runtime sends built-in metrics to Cloud Monitoring with no setup, and your agent's logs to Cloud Logging. Follow a normal query, an error spike from chart to log line, and a p99 latency alert that pages someone.
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.
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