• Home
  • Extend
  • OpenTelemetry
  • Best practices
  • Performance

Performance

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.

Compression

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.

Batching

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.

Related topics
  • Metrics

    Learn about OpenTelemetry metrics.

  • Extend metric observability

    Learn how to extend metric observability in Dynatrace.

  • Export with OTLP

    Learn how to configure your application to export OpenTelemetry data to Dynatrace via OTLP.