This integration is based on open source code governed by the respective communities and is not covered under the Dynatrace support policy. While we strive to assist, issues and feature requests should be reported directly to the respective project. Dynatrace cannot ensure fixes/features due to the independent nature of OSS projects.
Always use the most recent release version to ensure you have the latest patches and fixes deployed.
This page describes how to configure your Envoy version 1.30+ instance to export traces to Dynatrace. This lets you monitor traffic flowing through your Envoy proxy directly in Dynatrace.
Envoy 1.30+
The OTLP traces URL for the export.
The OneAgent Envoy code module is disabled for your environment or host. To do this:
Ctrl+K and search for Access tokens.openTelemetryTrace.ingest)adaptiveTrafficManagement.read)For more information, see Dynatrace API - Tokens and authentication.
Add the following cluster entry under the top-level clusters key in your Envoy configuration file.
- name: dynatrace-oteltype: LOGICAL_DNSdns_lookup_family: V4_ONLYlb_policy: ROUND_ROBINload_assignment:cluster_name: dynatrace-otelendpoints:- lb_endpoints:- endpoint:address:socket_address:address: "<your-environment-id>.live.dynatrace.com"port_value: 443transport_socket:name: envoy.transport_sockets.tlstyped_config:"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
Add the following entry to the http_connection_manager filters section of your Envoy configuration file.
tracing:random_sampling:value: 100provider:name: envoy.tracers.opentelemetrytyped_config:"@type": type.googleapis.com/envoy.config.trace.v3.OpenTelemetryConfigservice_name: <your-service-name>http_service:http_uri:uri: "<your-environment-id>.live.dynatrace.com/api/v2/otlp/v1/traces"cluster: dynatrace-oteltimeout: 10srequest_headers_to_add:- header:key: "Authorization"value: "Api-Token <API_TOKEN>"resource_detectors:- name: envoy.tracers.opentelemetry.resource_detectors.dynatracetyped_config:"@type": type.googleapis.com/envoy.extensions.tracers.opentelemetry.resource_detectors.v3.DynatraceResourceDetectorConfigsampler:name: envoy.tracers.opentelemetry.samplers.dynatracetyped_config:"@type": type.googleapis.com/envoy.extensions.tracers.opentelemetry.samplers.v3.DynatraceSamplerConfigcluster_id: <cluster-id>tenant: <your-tenant-id>http_service:http_uri:cluster: "dynatrace-otel"uri: "<your-environment-id>.live.dynatrace.com/api/v2/samplingConfiguration"timeout: 10srequest_headers_to_add:- header:key: "authorization"value: "Api-Token <API_TOKEN>"
Replace the following placeholders with the appropriate values:
<your-service-name>: Your service's name.<your-environment-id>: Your Dynatrace environment ID. See environment ID to find yours.<API_TOKEN>: The access token you created.<cluster-id>: The numeric ID of your Dynatrace cluster.<your-tenant-id>: The same value as <your-environment-id>.If you're setting up the integration through the Dynatrace Hub (search for Envoy > select the Hub entry > Set up), the <cluster-id> value is pre-filled in the provided snippet. If you don't have access to this wizard, retrieve the value by sending a GET request to https://<your-environment-id>.live.dynatrace.com/api/v1/config/clusterid with an access token that has the Data Export (DataExport) scope.
For more information, see Dynatrace API - Tokens and authentication.
After the setup is complete and you have ingested your first data, you can verify if the traces show up in Dynatrace.

To also trace Istio-managed traffic, see Configure OpenTelemetry tracing with Istio.