Class TraceContextInterceptor (6.119.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class TraceContextInterceptor implements ClientInterceptor
Implements
io.grpc.ClientInterceptor
Constructors
TraceContextInterceptor(OpenTelemetry openTelemetry)
public TraceContextInterceptor(OpenTelemetry openTelemetry)
| Parameter |
| Name |
Description |
openTelemetry |
io.opentelemetry.api.OpenTelemetry
|
Methods
<ReqT,RespT>interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
public ClientCall<ReqT,RespT> <ReqT,RespT>interceptCall(MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next)
| Parameters |
| Name |
Description |
method |
io.grpc.MethodDescriptor<ReqT,RespT>
|
callOptions |
io.grpc.CallOptions
|
next |
io.grpc.Channel
|
| Returns |
| Type |
Description |
io.grpc.ClientCall<ReqT,RespT> |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]