Commit 5ef3fd3 1 parent a8b308a commit 5ef3fd3 Copy full SHA for 5ef3fd3
File tree 3 files changed +9
-3
lines changed
opentelemetry-otlp/src/exporter/tonic
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ impl TonicLogsClient {
33
33
) -> Self {
34
34
let mut client = LogsServiceClient :: new ( channel) ;
35
35
if let Some ( compression) = compression {
36
- client = client. send_compressed ( compression) ;
36
+ client = client
37
+ . send_compressed ( compression)
38
+ . accept_compressed ( compression) ;
37
39
}
38
40
39
41
TonicLogsClient {
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ impl TonicMetricsClient {
35
35
) -> Self {
36
36
let mut client = MetricsServiceClient :: new ( channel) ;
37
37
if let Some ( compression) = compression {
38
- client = client. send_compressed ( compression) ;
38
+ client = client
39
+ . send_compressed ( compression)
40
+ . accept_compressed ( compression) ;
39
41
}
40
42
41
43
TonicMetricsClient {
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ impl TonicTracesClient {
33
33
) -> Self {
34
34
let mut client = TraceServiceClient :: new ( channel) ;
35
35
if let Some ( compression) = compression {
36
- client = client. send_compressed ( compression) ;
36
+ client = client
37
+ . send_compressed ( compression)
38
+ . accept_compressed ( compression) ;
37
39
}
38
40
39
41
TonicTracesClient {
You can’t perform that action at this time.
0 commit comments