@InterfaceAudience.Private public class IpcClientSpanBuilder extends Object implements Supplier<io.opentelemetry.api.trace.Span>
Span
instances originating from the client side of an IPC.Constructor and Description |
---|
IpcClientSpanBuilder() |
Modifier and Type | Method and Description |
---|---|
io.opentelemetry.api.trace.Span |
build() |
static String |
buildSpanName(String packageAndService,
String method)
Construct an RPC span name.
|
io.opentelemetry.api.trace.Span |
get() |
static String |
getRpcName(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md)
Retrieve the
$method value from md . |
static String |
getRpcPackageAndService(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor sd)
Retrieve the combined
$package.$service value from sd . |
IpcClientSpanBuilder |
setMethodDescriptor(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md) |
IpcClientSpanBuilder |
setRemoteAddress(Address remoteAddress) |
public io.opentelemetry.api.trace.Span get()
public IpcClientSpanBuilder setMethodDescriptor(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md)
public IpcClientSpanBuilder setRemoteAddress(Address remoteAddress)
public io.opentelemetry.api.trace.Span build()
public static String getRpcPackageAndService(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor sd)
$package.$service
value from sd
.public static String getRpcName(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md)
$method
value from md
.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.