public interface OperationNameConstructor
Modifier and Type | Field and Description |
---|---|
static OperationNameConstructor |
DEFAULT
Default span operation name constructor, that will return an RPC's method name when
constructOperationName is called.
|
Modifier and Type | Method and Description |
---|---|
<ReqT,RespT> |
constructOperationName(io.grpc.MethodDescriptor<ReqT,RespT> method)
Constructs a span's operation name from the RPC's method.
|
static final OperationNameConstructor DEFAULT
<ReqT,RespT> String constructOperationName(io.grpc.MethodDescriptor<ReqT,RespT> method)
ReqT
- the rpc request typeRespT
- the rpc response typemethod
- the rpc method to extract a name fromCopyright © 2017-2019–2019. All rights reserved.