9

Collecting Metrics and Traces Using OpenTelemetry

Regardless of whether you are a seasoned veteran or a beginner on your observability journey, since you are following this book and doing your homework, you already have all the pieces in place now: you can now collect metrics, traces, and logs from your application on AWS, whether using Elastic Compute Cloud (EC2) instances, containers, or Lambda functions.

But let’s take a step back to see the big picture. To collect metrics for an EC2 environment, you need to install an agent on your virtual machine, a sidecar on your containerized application, or a Lambda layer on your serverless application. To collect application-specific metrics, you need to use a library as a dependency and write code ...

Get AWS Observability Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.