1. About
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 lab, we’ll learn how to capture logs from Kubernetes using the Dynatrace Operator to deploy the Dynatrace Log Module. We'll then configure log monitoring in Dynatrace to maximize the value that we get from logs. Finally, we'll analyze the logs in context using the various apps native to the Dynatrace platform.
Lab tasks:
-
Launch GitHub codespaces container with lab setup
- Kubernetes cluster running AstroShop demo application
-
Deploy Kubernetes Platform Monitoring + Application Observability
-
Configure and validate Kubernetes log ingest into Dynatrace
-
Ingest CronJob logs
-
Configure advanced log monitoring in Dynatrace
- Log module feature flags
- Sensitive data masking
- Timestamp patterns and splitting
- Dynatrace component logs for self-monitoring
-
Configure Dynatrace OpenPipeline for log transformation on ingest
-
Analyze logs in context using apps native to the Dynatrace platform
- Problems
- Kubernetes
- Distributed Tracing
- Services
-
Clean up GitHub codespaces instance
The OpenTelemetry Option
Did you know that the Dynatrace Operator is not the only way to achieve this goal? It is possible using pure OpenTelemetry. Here is a tutorial which guides you through this option:
Technical Specification#
Technologies Used#
- Dynatrace
- Kubernetes Kind
- tested on Kind tag 0.27.0
- Cert Manager - *prerequisite for OpenTelemetry Operator
- tested on cert-manager v1.15.3
- Dynatrace Operator
- tested on v1.4.2 (April 2025)
- Dynatrace OneAgent
- tested on v1.309 (April 2025)
Reference Architecture#
Dynatrace on Kubernetes: Application observability
Dynatrace on Kubernetes: Platform monitoring
OpenTelemetry Astronomy Shop Demo Architecture
Continue#
In the next section, we'll review the prerequisites for this lab needed before launching our Codespaces instance.