Introduction to Monitoring Serverless and AI Workloads
Lambda metrics and Lambda Insights, tracing with AWS X-Ray and CloudWatch Application Signals, synthetic canaries and monitoring Amazon Bedrock workloads.
- 3 lessons
- Module quiz
Serverless and AI workloads have no servers for operators to log in to, so all of their telemetry comes from managed integrations. AWS Lambda publishes metrics for invocations, errors, duration and throttles, and Lambda Insights adds system-level detail. Requests that cross several services are followed with AWS X-Ray traces and CloudWatch Application Signals, and synthetic canaries test endpoints from the outside.
Generative AI workloads on Amazon Bedrock have their own signals: invocation counts, latency, throttles and token counts. Model invocation logging, which records prompts and responses, is off by default and must be enabled when the content of requests needs to be audited or investigated.
What the exam expects
Questions test which Lambda and Bedrock metrics to alarm on, how to enable tracing and invocation logging, and how to use Application Signals and canaries. The X-Ray SDKs and daemon are in maintenance mode, with end of support on 25 February 2027, so new instrumentation uses OpenTelemetry.
How this module is organised
Monitoring Lambda Functions with Metrics, Logs and Lambda Insights explains Lambda metrics and insights. Tracing Requests with X-Ray, Application Signals and Synthetics explains distributed tracing and service monitoring, and Monitoring Amazon Bedrock Workloads explains monitoring of foundation model use.