Skip to main content

Session 2 — OpenTelemetry Fundamentals

Session Overview

Duration: 2 hours
Format: Instructor presentation + hands-on exercises
Level: Intermediate


Session Agenda

TimeTopicFormat
0:00 – 0:30OpenTelemetry history, goals, and CNCF statusPresentation
0:30 – 1:00OTel Collector: components, configurationPresentation + Demo
1:00 – 1:30Deployment models: Agent vs GatewayPresentation + Architecture
1:30 – 2:00Hands-on: configure and run a collectorLab exercise

Learning Objectives

By the end of Session 2, you will be able to:

  • Describe OpenTelemetry's role in the CNCF ecosystem
  • Explain the OTel Collector pipeline: receivers → processors → exporters
  • Read and write a basic OTel collector YAML configuration
  • Choose between Agent Mode and Gateway Mode for a given deployment scenario
  • Connect an OTel collector to xScaler

Session Pages

  1. OTel Overview — CNCF, signals, SDK, protocol
  2. Collector Components — receivers, processors, exporters, pipelines
  3. Deployment Models — single node, DaemonSet, Deployment
  4. Agent vs Gateway — mode comparison, selection guide

Key Concepts Introduced

ConceptDescription
OTLPOpenTelemetry Line Protocol — the wire format for all three signals
ReceiverIngest endpoint for a collector (OTLP, Prometheus, Filelog, etc.)
ProcessorTransforms data in-pipeline (batch, memory_limiter, attributes, etc.)
ExporterSends data to a backend (prometheusremotewrite, otlphttp, etc.)
PipelineConnects receivers → processors → exporters for one signal type
Agent ModeOne collector per host, co-located with applications
Gateway ModeCentralised collector receiving from many sources

Instructor Notes

Trainer Guidance
  • Show the actual OTel collector config from `` in the repository
  • Run docker compose logs otel-collector to show live scraping activity
  • Use the Grafana Explore view to show data flowing from OTel Collector into platform-metrics

← Previous: Observability Fundamentals
Next: OTel Overview →