Send data to Dynatrace with OpenTelemetry
OpenTelemetry is an observability framework for cloud-native software. It is used to instrument frameworks and components and export telemetry data (traces, metrics and logs) for analysis to gain insights into your software's performance and behavior. Dynatrace is a key contributor to this open source project.
You can use OpenTelemetry in Dynatrace to:
- Extend Dynatrace technology coverage for technologies that are not supported out of the box by OneAgent
- Enrich telemetry data with additional spans and metrics
Ingest trace data
You can ingest OpenTelemetry trace data (traces and spans) in two different ways:
Available for: Java, Go, Node.js, PHP, and .NET on all platforms supported by OneAgent
Use this approach:
- For services that are already instrumented by OneAgent automatically
- To extend visibility into frameworks and libraries instrumented with OpenTelemetry
- To customize the distributed traces
For details, see OpenTelemetry traces with OneAgent.
Ingest custom metrics
From an OpenTelemetry SDK, exporting to an OpenTelemetry Collector: Available for all languages supported by OpenTelemetry Metrics.
For more details, see Dynatrace OpenTelemetry Collector metrics exporter.
Directly from an application, via the Dynatrace OpenTelemetry metrics exporter. Available for the following languages:
For more details, see Dynatrace OpenTelemetry metrics exporters.
The maturity and stability of the OpenTelemetry Metrics SDK implementations differs between programming languages and can be checked on the OpenTelemetry website.
Dynatrace automatically collects log and event data from a vast array of technologies. With generic log ingestion, you can stream log records to a system and have Dynatrace transform the stream into meaningful log messages. See Log Monitoring.
OpenTelemetry logging is currently under active development. We will offer an integration in a future release.