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 java.lang.Object implements io.grpc.ClientInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableList<OpenTelemetryPlugin>
plugins
private java.lang.String
target
-
Constructor Summary
Constructors Constructor Description MetricsClientInterceptor(java.lang.String target, com.google.common.collect.ImmutableList<OpenTelemetryPlugin> plugins)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <ReqT,RespT>
io.grpc.ClientCall<ReqT,RespT>interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
-
-
Field Detail
-
target
private final java.lang.String target
-
plugins
private final com.google.common.collect.ImmutableList<OpenTelemetryPlugin> plugins
-
-
Constructor Detail
-
MetricsClientInterceptor
MetricsClientInterceptor(java.lang.String target, com.google.common.collect.ImmutableList<OpenTelemetryPlugin> plugins)
-
-