Skip to content

Commit 389da6f

Browse files
Update lib/solarwinds_apm/otel_native_config.rb
Co-authored-by: Raphaël Thériault <113933910+raphael-theriault-swi@users.noreply.github.com>
1 parent 615b371 commit 389da6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/solarwinds_apm/otel_native_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def self.initialize
6060

6161
# set gzip compression
6262
%w[TRACES METRICS LOGS].each do |signal|
63-
ENV["OTEL_EXPORTER_OTLP_#{signal}_COMPRESSION"] = 'gzip' if ENV["OTEL_EXPORTER_OTLP_#{signal}_COMPRESSION"].to_s.empty? || ENV['OTEL_EXPORTER_OTLP_COMPRESSION'].to_s.empty?
63+
ENV["OTEL_EXPORTER_OTLP_#{signal}_COMPRESSION"] = 'gzip' if ENV["OTEL_EXPORTER_OTLP_#{signal}_COMPRESSION"].to_s.empty? && ENV['OTEL_EXPORTER_OTLP_COMPRESSION'].to_s.empty?
6464
end
6565

6666
# set delta temporality

0 commit comments

Comments
 (0)