This guide provides step-by-step instructions for implementing OpenTelemetry observability with Dynatrace. Whether you're manually instrumenting your applications or using an instrumentation that is provided by OpenTelemetry, you'll find the information you need to get up and running quickly.
Instrumentation is the process of adding telemetry support to your applications.
Many popular services and components are already instrumented for use with OpenTelemetry, which means you can start collecting telemetry data with minimal effort. Just enable the library and then configure the exporter with Dynatrace endpoints. You can check the OpenTelemetry instrumentation registry to find ready-made instrumentations.
If you're developing your own applications, you can also instrument your application code yourself. Dynatrace provides guided walkthroughs for all supported languages, as shown in the table below.
Language
Zero-code instrumentation
Code-based instrumentation
Guided walkthrough
The guided walkthroughs provide language-specific details on how to
For tracing distributed services, pay particular attention to context propagation.
To aggregate, analyze, monitor, and store your telemetry data, you need to send it to the Dynatrace backend.
Choose the deployment option that best aligns with your observability strategy:
Direct OTLP ingestion or standard OpenTelemetry Collector.
Ideal for teams with existing OpenTelemetry investments who want to integrate Dynatrace seamlessly. Learn more about Export with OTLP.
Dynatrace Collector.
Ideal for teams adopting OpenTelemetry as their primary observability strategy. Learn more about using Dynatrace Collector.
Dynatrace OneAgent.
Ideal for teams that need comprehensive agent-based monitoring capabilities and deep system insights. Learn more about Dynatrace OneAgent.
OneAgent supports trace ingest only.
Just started with one signal? Don't stop there, maximize your observability by implementing all three telemetry signals for complete visibility into your applications:
You can use either the standard OpenTelemetry Collector or Dynatrace Collector. Keep in mind that Dynatrace Collector offers easier setup and dedicated support.
You can use Astronomy Shop, the OpenTelemetry demo app, to run an example of a distributed system that's instrumented with OpenTelemetry.
Read more about Astronomy Shop at Running OpenTelemetry demo app Astronomy Shop with Dynatrace, and get the code at the opentelemetry-demo
GitHub repo.
Now that you have already implemented the first steps, read on to explore how to get maximum value out of your telemetry data with Dynatrace: