RousselTMLEARNING

TP · OpenObserve: from discovery to expertise

Lab: Collect traces with the OpenTelemetry Collector

What you will learn in this TP
  • Configure the otlphttp exporter
  • Generate traces
  • Query them

Introduction #

What you will learn in this section
  • Configure the otlphttp exporter
  • Generate traces
  • Query them

Context. Your applications are instrumented with OpenTelemetry. You route them through a Collector, without tying them directly to the platform.

Prerequisites: the previous lab  ·  Estimated time: 35 min

An end-to-end trace flow.

Setup #

Guided steps, with their solution.

  1. 1. Configure the Collector

    Why? The exporter appends /v1/traces itself: only set the base.

    Write collector.yaml with the otlphttp exporter and the authentication header.
  2. 2. Add the Collector to the stack

    Why? The password must not be written in the Collector configuration.

    Add the collector service to the Compose file.
  3. 3. Generate traces

    Why? telemetrygen stands in for an instrumented application.

    Start the stack and send 20 traces to the Collector.
  4. 4. Check

    Why? The stream-name header selected the applis stream.

    Query the stream of type traces, then open the Traces menu in the UI.

Difficulty level : ●●○○○ (2/5)

My progress

  • ⏱ Estimated time : ≈ 35 min

Sign in to track your progress and take notes. Sign in

💬 Ask a question

Recommended Articles

Installing OpenObserve and ingesting your first data

Install OpenObserve with Docker Compose or the binary, configure it with its ZO_* variables, send...

APM Datadog et OpenTelemetry : traces, services et corrélation avec les logs

Instrumenter ses applications pour l'APM Datadog (dd-trace, instrumentation en une étape, OpenTel...

OpenTelemetry sur Kubernetes : Operator, auto-instrumentation et Collector

Déployer OpenTelemetry sur Kubernetes : modes de déploiement du Collector (DaemonSet, Deployment,...

OpenTelemetry Collector, Grafana Alloy et Bindplane : comparer trois approches des pipelines de télémétrie

Comparatif détaillé de trois façons de gérer des pipelines de télémétrie : l'OpenTelemetry Collec...

OpenTelemetry Collector : les Processors (transformer, filtrer et protéger la télémétrie)

Maîtriser les processors du Collector OpenTelemetry : batch, memory_limiter, attributes, resource...

Les traces OpenTelemetry en profondeur : spans, statuts, événements, liens et échantillonnage

Maîtriser le signal trace : anatomie d'une trace distribuée, span et SpanKind, attributs, statut ...

OpenObserve in production: best practices

Choose your deployment mode, organize streams, secure, back up and monitor OpenObserve in product...

Les logs avec OpenTelemetry : modèle de données, appenders, corrélation et collecte

Maîtriser le signal log : modèle de données LogRecord, Logs Bridge API et appenders (Logback, Log...

Projet fil rouge : les quatre signaux de l'OpenTelemetry Demo dans la stack Grafana

Un projet fil rouge qui traverse les formations d'observabilité : déployer l'OpenTelemetry Demo, ...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!