This page lists several methods you can leverage to improve your application's performance as well as your overall experience when exporting OpenTelemetry data to Dynatrace.
Dynatrace recommends that you enable gzip
compression on your OTLP exporters.
The default compression on the OTLP exporter is not set, but it can be configured through the following environment variables:
OTEL_EXPORTER_OTLP_COMPRESSION
OTEL_EXPORTER_OTLP_TRACES_COMPRESSION
OTEL_EXPORTER_OTLP_METRICS_COMPRESSION
OTEL_EXPORTER_OTLP_LOGS_COMPRESSION
Acceptable values are none
or gzip
.
If you use the OpenTelemetry Collector, we highly recommend that you use a batch processor.
Batching helps to better compress the data and reduce the number of outgoing connections required to transmit data to Dynatrace.
See this GitHub readme for more information.