Package io.grpc.opentelemetry
Class OpenTelemetryMetricsModule.MetricsClientInterceptor
java.lang.Object
io.grpc.opentelemetry.OpenTelemetryMetricsModule.MetricsClientInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
- Enclosing class:
OpenTelemetryMetricsModule
final class OpenTelemetryMetricsModule.MetricsClientInterceptor
extends Object
implements io.grpc.ClientInterceptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList
<OpenTelemetryPlugin> private final String
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsClientInterceptor
(String target, com.google.common.collect.ImmutableList<OpenTelemetryPlugin> plugins) -
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
io.grpc.ClientCall<ReqT, RespT> interceptCall
(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
Field Details
-
target
-
plugins
-
-
Constructor Details
-
MetricsClientInterceptor
MetricsClientInterceptor(String target, com.google.common.collect.ImmutableList<OpenTelemetryPlugin> plugins)
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCall
in interfaceio.grpc.ClientInterceptor
-