To maximize the amount of data you can send per request, we recommend enabling compression in all OTLP exporters. New Relic supports gzip
and zstd
compression for OTLP payloads transported via gRPC or HTTP with a maximum allowed payload size of 1MB (10^6 bytes).
OTel collector configuration
The default compression for the OTLP exporter in the OTel collector is currently gzip
, while zstd
compression often proves more efficient. See compression comparison for more details on benchmark information.
To enable zstd
in the collector, adapt the collector exporter config:
exporters: otlphttp: ... compression: zstd
If you'd like to see us support other compression formats, please let us know in the CNCF Slack channel. You can sign up for CNCF's Slack account here.