Part 3: Building Tracing Pipeline with Alloy and Exporting to Tempo

CodeOps By Mo August 14, 2025
Video Thumbnail
CodeOps By Mo Logo

CodeOps By Mo

View Channel

About

Welcome to CodeOps By Mo! 🚀 Explore cutting-edge DevOps technologies with hands-on tutorials, deep dives, and practical solutions to boost your tech skills

Video Description

📌 Welcome to the Grafana Alloy Course! Grafana Alloy is a powerful, vendor-neutral tool built on OpenTelemetry (OTel) that collects metrics, traces, and logs. In this video, we focus on tracing pipelines — walking you through the complete process of ingesting, processing, and exporting trace data with Alloy and Tempo. --- 📋 What This Video Covers: Intro to tracing pipelines with Grafana Alloy Understanding traces, spans & instrumentation Manual instrumentation for a Python app Auto-instrumentation in Kubernetes with OTel Operator Deploying Tempo, Grafana & Alloy for trace collection Configuring OTLP receiver & exporter Viewing traces in Grafana Enhancing traces with processors: span, attributes, k8s attributes, filter, transform, batch Building service graphs from trace data --- ⏰ Timestamps for Easy Navigation: 00:00:00 Intro to Tracing Pipelines with Grafana Alloy 00:01:00 What Are Traces, Spans and Instrumentation? A Quick Intro 00:04:53 Understanding the Tracing Pipeline Architecture: Receivers, Processors, and Exporters 00:07:11 Tracing a Python Demo Shop App with Manual Instrumentation 00:15:11 Auto-Instrumenting a Python Demo Shop App in Kubernetes with OpenTelemetry Operator 00:23:14 Deploying Tempo, Grafana & Alloy on Kubernetes to Implement the Tracing Pipeline 00:36:24 Receiver.OTLP – Configuring the OpenTelemetry Receiver for Trace Ingestion 00:40:02 Exporter.OTLP – Sending Traces from OpenTelemetry to Tempo 00:42:01 Viewing Traces in Grafana: Basic Tracing Pipeline Without Processors 00:44:43 Processor.Span – Modifying and Enriching Trace Spans 00:53:14 Processor.Attributes – Adding and Updating Span Attributes 00:59:17 Span vs Resource Attributes – Understanding the Difference 01:00:52 Processor.K8sAttributes – Adding Kubernetes Metadata to Traces 01:07:53 Processor.Filter – Filtering Spans Before Export 01:12:26 Processor.Transform – Transforming Trace Data for Custom Needs 01:23:19 Processor.Batch – Optimizing Trace Export with Batching 01:29:40 Connector.ServiceGraph – Building Service Graphs from Trace Data --- 🎥 These are the other parts of the Grafana Alloy playlist, covering collecting logs and metrics with Alloy: https://www.youtube.com/watch?v=tMSZ_DVq5pw https://www.youtube.com/watch?v=kDQ-egkmNvE --- 📚 Learn More from the Official Documentation: For more in-depth details and advanced configuration options, make sure to check out the Grafana Alloy official documentation: 👉 https://grafana.com/docs/alloy/latest/ --- 🔗 Code and Resources: All the code explained in this video is available on the CodeOpsByMo GitHub organization: 👉 https://github.com/codeopsbymo The repository for this course can be found here: 👉 https://github.com/codeopsbymo/grafan... --- 📢 Why Follow This Course? This episode is your complete, hands-on guide to building a tracing pipeline with Grafana Alloy and Tempo. You’ll not only understand the theory behind traces, spans, and processors — but also see it in action with real deployments on Kubernetes. By following along, you’ll gain the skills to: Instrument applications (manual & auto) for distributed tracing. Deploy and configure a tracing stack. Enrich and transform trace data for deeper insights. Build service graphs to visualize relationships in your system. 📌 Subscribe to CodeOpsByMo for more hands-on DevOps tutorials. 👍 Like the video if you found it helpful, and let us know your thoughts in the comments!

You May Also Like

Essential CodeOps Tools

AI-recommended products based on this video

Loading...
Ram Mount Pod HD Vehicle Mount with 18" Aluminum Rod and Round Plate RAM-316-HD-18-202U for Tablets and Small Laptops

Ram Mount Pod HD Vehicle Mount with 18" Aluminum Rod and Round Plate RAM-316-HD-18-202U for Tablets and Small Laptops

(9)
$494.95
$24.50 delivery Jul 18 - 25
Loading...
Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

(43,809)
$14.99$11.99
FREE delivery Mon, Sep 22 on your first order
1K+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(21,223)
$44.98
FREE delivery Tue, Oct 14
1K+ bought in past month
Loading...
Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac, Black
Best Seller

Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac, Black

(54,445)
$49.98$44.98
FREE delivery Tue, Oct 14
1K+ bought in past month
Loading...
Apple 2025 MacBook Air 13-inch Laptop with M4 chip: Built for Apple Intelligence, 16GB Unified Memory, 256GB SSD Storage, Touch ID; Sky Blue - English Keyboard

Apple 2025 MacBook Air 13-inch Laptop with M4 chip: Built for Apple Intelligence, 16GB Unified Memory, 256GB SSD Storage, Touch ID; Sky Blue - English Keyboard

(687)
$1,249.99
PrimeFREE delivery Sat, Jun 14
100+ bought in past month
Loading...
Dell S2722DC Monitor - 27-inch WQHD (2560x1440) 75Hz 4Ms Display, AMD FreeSync, Built in Speaker, USB Type-C/USB 3.2 Gen 1/HDMI Connectivity, Height/Pivot/Swivel/Tilt Adjustability - Platinum Silver
Amazon's Choice

Dell S2722DC Monitor - 27-inch WQHD (2560x1440) 75Hz 4Ms Display, AMD FreeSync, Built in Speaker, USB Type-C/USB 3.2 Gen 1/HDMI Connectivity, Height/Pivot/Swivel/Tilt Adjustability - Platinum Silver

(4,001)
$299.99
FREE delivery Sun, Aug 24
200+ bought in past month
Loading...
Apple AirPods Pro 2 Wireless Earbuds, Bluetooth Headphones, Active Noise Cancellation, Transparency, Personalized Spatial Audio, High-Fidelity Sound, H2 Chip, USB-C Charging

Apple AirPods Pro 2 Wireless Earbuds, Bluetooth Headphones, Active Noise Cancellation, Transparency, Personalized Spatial Audio, High-Fidelity Sound, H2 Chip, USB-C Charging

(26,678)
$259.99$194.99
FREE delivery Wed, Aug 20
5K+ bought in past month
Loading...
3 in 1 Charging Station for iPhone, Wireless Charger for iPhone 16 15 14 13 12 11 X Pro Max & Apple Watch - Charging Stand Dock for AirPods Global Recycled Standard

3 in 1 Charging Station for iPhone, Wireless Charger for iPhone 16 15 14 13 12 11 X Pro Max & Apple Watch - Charging Stand Dock for AirPods Global Recycled Standard

(30,415)
$30.39
Prime
1K+ bought in past month
Loading...
3 in 1 Charging Station for iPhone, Wireless Charger for iPhone 16 15 14 13 12 11 X Pro Max & Apple Watch - Charging Stand Dock for AirPods (Blue) Global Recycled Standard

3 in 1 Charging Station for iPhone, Wireless Charger for iPhone 16 15 14 13 12 11 X Pro Max & Apple Watch - Charging Stand Dock for AirPods (Blue) Global Recycled Standard

(27,328)
$39.99
PrimeFREE delivery Sat, Jun 14
100+ bought in past month
Loading...
Wireless Charger for iPhone- 3 in 1 Charging Station for iPhone 16/15/14/13/12/Pro Max/Pro/Mini/Plus, Apple Watch 10/9/8/7/SE/6/5/4/3/2/1/Ultra2/Ultra, AirPods pro/2/3/4

Wireless Charger for iPhone- 3 in 1 Charging Station for iPhone 16/15/14/13/12/Pro Max/Pro/Mini/Plus, Apple Watch 10/9/8/7/SE/6/5/4/3/2/1/Ultra2/Ultra, AirPods pro/2/3/4

(27)
$27.99
FREE delivery Sat, Jun 14 on your first order
Loading...
NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

(2,807)
$181.49
FREE delivery Sun, Aug 10
Loading...
4K Portable Monitor, MAGICRAVEN 15.6inch UHD 3840×2160 100% sRGB Portable Gaming Monitor, USB-C Mini HDMI External Second Monitor Portable with Speakers for Laptop MacBook Switch PS5/4 Xbox

4K Portable Monitor, MAGICRAVEN 15.6inch UHD 3840×2160 100% sRGB Portable Gaming Monitor, USB-C Mini HDMI External Second Monitor Portable with Speakers for Laptop MacBook Switch PS5/4 Xbox

(802)
$251.99
FREE delivery Tue, Aug 12
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
12.3 Inch Secondary Monitor, IPS Stretched Bar LCD Travel Display 1920 * 720 HDMI USBC, Mini Portable Monitor Metal Material for Laptop Computer Windows Aida64 GPU CPU RAM Monitoring,Built-in Speaker

12.3 Inch Secondary Monitor, IPS Stretched Bar LCD Travel Display 1920 * 720 HDMI USBC, Mini Portable Monitor Metal Material for Laptop Computer Windows Aida64 GPU CPU RAM Monitoring,Built-in Speaker

(1)
$129.99
FREE delivery Sun, Aug 10
Loading...
LESOWN 5 inch IPS Small Hdmi Monitor VESA Metal Shell 800x480 Mini LCD Screen Portable Display Monitor

LESOWN 5 inch IPS Small Hdmi Monitor VESA Metal Shell 800x480 Mini LCD Screen Portable Display Monitor

(52)
$84.28
FREE delivery Sun, Aug 10