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. Configure the Collector
Why? The exporter appends
Write/v1/tracesitself: only set the base.collector.yamlwith theotlphttpexporter and the authentication header.2. Add the Collector to the stack
Why? The password must not be written in the Collector configuration.
Add thecollectorservice to the Compose file.3. Generate traces
Why?
Start the stack and send 20 traces to the Collector.telemetrygenstands in for an instrumented application.4. Check
Why? The
Query the stream of typestream-nameheader selected theapplisstream.traces, then open the Traces menu in the UI.
Difficulty level : ●●○○○ (2/5)
My progress
Sign in to track your progress and take notes. Sign in
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, ...