Learn to instrument services with OpenTelemetry, run the Collector, and follow one slow request across services to find the real cause of an incident.
You are the platform engineer at acme-shop. In the GitOps module you deployed cart-service from Git and shipped a canary.
What a trace and a span are A trace is the record of one request from the moment it arrives until the response leaves.
Installing the packages The Python SDK is split into an API and an SDK. Your code imports from the API. The SDK is configured once at startup.
Why standard attribute names matter Semantic conventions are OpenTelemetry's shared dictionary of attribute names.
What the Collector does and why you need it The OpenTelemetry Collector is a standalone service between your apps and your backends.
Jaeger for learning and small setups Jaeger is an open source tracing backend and UI.
You are the platform engineer at acme-shop.
What a trace and a span are A trace is the record of one request from the moment it arrives until the response leaves.
Installing the packages The Python SDK is split into an API and an SDK. Your code imports from the API.
Why standard attribute names matter Semantic conventions are OpenTelemetry's shared dictionary of attribute names.
What the Collector does and why you need it The OpenTelemetry Collector is a standalone service between your apps and...
Jaeger for learning and small setups Jaeger is an open source tracing backend and UI.
Why you cannot keep everything A service handling 10,000 requests per minute with five spans each produces 50,000 spans...
Why correlation matters A trace tells you one request was slow.
Reading a trace waterfall A trace backend draws the waterfall: one bar per span, indented by parent and child.
📌 Remember: This lab runs on your laptop with Docker Compose, so it costs nothing.
Quick reference Common mistakes Mounting the Collector config at the wrong path is easy to do because the container...
Roles that use the skills in this module.
SRE
₹20L - ₹38L a year
AIOps Engineer
₹18L - ₹35L a year
Platform Engineer
₹15L - ₹28L a year
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding SheetDistributed tracing records the path of one request as it moves through several services, with the timing of each step. A tracing backend joins the steps using a shared trace ID, so you can see which call was slow or failed.
You can export straight from an app to a backend, but the Collector is worth it once you have more than a couple of services. It gives every service one place to send data, and you change backends in one config file instead of in every service.
Context propagation broke somewhere. The caller did not send the traceparent header, or the receiver did not read it, so the second service started a new trace. Check the HTTP client, proxies, and any queue between the services.
Usually yes, once traffic is high. Keep a small share of normal traces and use tail sampling to keep every error and slow trace. Logs are not sampled, so you still keep all of them.