Skip to content

Commit 76b081d

Browse files
committed
call gzip.Name
1 parent 55819b9 commit 76b081d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/loop/telem.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
"google.golang.org/grpc"
2020
"google.golang.org/grpc/credentials"
2121
"google.golang.org/grpc/credentials/insecure"
22+
"google.golang.org/grpc/encoding/gzip"
2223

2324
"github.com/smartcontractkit/chainlink-common/pkg/beholder"
2425
"github.com/smartcontractkit/chainlink-common/pkg/config/build"
@@ -151,7 +152,7 @@ func (config TracingConfig) NewSpanExporter() (sdktrace.SpanExporter, error) {
151152
traceExporter, err := otlptracegrpc.New(ctx,
152153
otlptracegrpc.WithGRPCConn(conn),
153154
otlptracegrpc.WithHeaders(config.AuthHeaders),
154-
otlptracegrpc.WithCompressor(DefaultCompressionType),
155+
otlptracegrpc.WithCompressor(gzip.Name),
155156
)
156157
if err != nil {
157158
return nil, err

0 commit comments

Comments
 (0)