@InterfaceAudience.Private public class IpcServerSpanBuilder extends Object implements Supplier<io.opentelemetry.api.trace.Span>
Span instances originating from the server side of an IPC.| Constructor and Description |
|---|
IpcServerSpanBuilder(RpcCall rpcCall) |
| Modifier and Type | Method and Description |
|---|---|
<T> IpcServerSpanBuilder |
addAttribute(io.opentelemetry.api.common.AttributeKey<T> key,
T value) |
io.opentelemetry.api.trace.Span |
build() |
io.opentelemetry.api.trace.Span |
get() |
IpcServerSpanBuilder |
setName(String name) |
public IpcServerSpanBuilder(RpcCall rpcCall)
public io.opentelemetry.api.trace.Span get()
public IpcServerSpanBuilder setName(String name)
public <T> IpcServerSpanBuilder addAttribute(io.opentelemetry.api.common.AttributeKey<T> key, T value)
public io.opentelemetry.api.trace.Span build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.