Skip to content

Kubernetes OpenTelemetry#

Support Policy - experiment, share feedback, and help shape the future

This repository is part of an enablement project created by the Center of Excellence at Dynatrace. Our mission is to empower you to explore and adopt these resources to accelerate innovation. Support is community-driven and provided exclusively via GitHub Issues.

We will make every effort to assist and address reported problems, but please note:

  • The materials are provided “as-is”, without any warranties or guarantees.
  • Use of this technology is at your own discretion and risk.

We encourage you to experiment, share feedback, and help shape the future. Start building today!

Lab Overview#

During this hands-on training, we’ll learn how to capture logs, traces, and metrics from Kubernetes using OpenTelemetry and ship them to Dynatrace for analysis. This will demonstrate how to use Dynatrace with OpenTelemetry; without any Dynatrace native components installed on the Kubernetes cluster (Operator, OneAgent, ActiveGate, etc.).

Lab tasks:

  1. OpenTelemetry Logs

    • Deploy OpenTelemetry Collector as a DaemonSet
    • Deploy OpenTelemetry Collector as a Deployment
    • Configure OpenTelemetry Collector service pipeline for log enrichment
    • Query and visualize logs in Dynatrace using DQL
  2. OpenTelemetry Traces

    • Deploy OpenTelemetry Collector as a Deployment
    • Configure OpenTelemetry Collector service pipeline for span enrichment
    • Analyze application reliability via traces in Dynatrace
  3. OpenTelemetry Metrics

    • Deploy OpenTelemetry Collector as a DaemonSet
    • Configure OpenTelemetry Collector service pipeline for metric enrichment
    • Deploy OpenTelemetry Collector as a Deployment
    • Configure OpenTelemetry Collector service pipeline for metric enrichment
    • Query and visualize metrics in Dynatrace using DQL
  4. OpenTelemetry Capstone

    • Deploy 2 OpenTelemetry Collectors (DaemonSet + Deployment)
    • Configure OpenTelemetry Collector service pipeline for data enrichment
    • Analyze metrics, traces, and logs in Dynatrace
    • Observe OpenTelemetry Collector health in Dynatrace

Technical Specification#

Technologies Used#

Reference Architecture#

Reference Architecture

OpenTelemetry Astronomy Shop Demo Architecture

Continue#

In the next section, we'll review the prerequisites for this lab needed before launching our Codespaces instance.