Part 3: Building Tracing Pipeline with Alloy and Exporting to Tempo
CodeOps By Mo
View ChannelAbout
Welcome to CodeOps By Mo! 🚀 Explore cutting-edge DevOps technologies with hands-on tutorials, deep dives, and practical solutions to boost your tech skills
Latest Posts
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

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

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 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

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 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

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

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

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

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 (Blue) Global Recycled Standard

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

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)

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

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

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





















