- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech
Kubernetes Application Instrumentation and Trace Generation
Tracing data provides valuable troubleshooting insight into the flow of requests for our applications. That said, it’s not enough to just have Tempo receive data from OpenTelemetry: the application itself also needs to send this data out, and the related deployment manifests need to tell the application the location of the OTEL collector. In this lab, you will update an application to configure the environment variables for the OTEL collector, rollout the deployment, then verify that tracing data is being received by OpenTelemetry and sent to Tempo.
Lab Info
Table of Contents
-
Challenge
Update the application deployment
Update the application deployment for both services in the storefront application to contain the environmental variables for the OTEL exporter at port 4318, then redeploy the manifests.
-
Challenge
Generate telemetry data
Using the provided
traffic.shscript, generate traffic—and therefore tracing data—against the storefront application. Confirm via the OTEL Collector and Tempo logs that the data is being ingested. -
Challenge
Validate that tracing is working
Use Grafana's Explore page to query for tracing data.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.