Skip to content

Commit

Permalink
Set compression to 'none' on the otlp exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi committed Mar 7, 2022
1 parent 5e8bc76 commit e7f0e8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions pkg/otlp/map_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ exporters:
otlp:
tls:
insecure: true
compression: none
service:
telemetry:
Expand Down
9 changes: 6 additions & 3 deletions pkg/otlp/map_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ func TestNewMap(t *testing.T) {
"tls": map[string]interface{}{
"insecure": true,
},
"endpoint": "localhost:5003",
"compression": "none",
"endpoint": "localhost:5003",
},
},
"service": map[string]interface{}{
Expand Down Expand Up @@ -101,7 +102,8 @@ func TestNewMap(t *testing.T) {
"tls": map[string]interface{}{
"insecure": true,
},
"endpoint": "localhost:5003",
"compression": "none",
"endpoint": "localhost:5003",
},
"serializer": map[string]interface{}{
"metrics": map[string]interface{}{
Expand Down Expand Up @@ -158,7 +160,8 @@ func TestNewMap(t *testing.T) {
"tls": map[string]interface{}{
"insecure": true,
},
"endpoint": "localhost:5003",
"compression": "none",
"endpoint": "localhost:5003",
},
},
"service": map[string]interface{}{
Expand Down

0 comments on commit e7f0e8e

Please sign in to comment.