Span |
PropagatedSpan.addEvent(java.lang.String name) |
|
Span |
PropagatedSpan.addEvent(java.lang.String name,
long timestamp,
java.util.concurrent.TimeUnit unit) |
|
Span |
PropagatedSpan.addEvent(java.lang.String name,
Attributes attributes) |
|
Span |
PropagatedSpan.addEvent(java.lang.String name,
Attributes attributes,
long timestamp,
java.util.concurrent.TimeUnit unit) |
|
default Span |
Span.addEvent(java.lang.String name) |
Adds an event to the Span .
|
default Span |
Span.addEvent(java.lang.String name,
long timestamp,
java.util.concurrent.TimeUnit unit) |
Adds an event to the Span with the given timestamp , as nanos since epoch.
|
Span |
Span.addEvent(java.lang.String name,
Attributes attributes) |
|
Span |
Span.addEvent(java.lang.String name,
Attributes attributes,
long timestamp,
java.util.concurrent.TimeUnit unit) |
|
default Span |
Span.addEvent(java.lang.String name,
Attributes attributes,
java.time.Instant timestamp) |
|
default Span |
Span.addEvent(java.lang.String name,
java.time.Instant timestamp) |
Adds an event to the Span with the given timestamp , as nanos since epoch.
|
default Span |
Span.addLink(SpanContext spanContext) |
Adds a link to this Span .
|
default Span |
Span.addLink(SpanContext spanContext,
Attributes attributes) |
Adds a link to this Span .
|
(package private) static Span |
PropagatedSpan.create(SpanContext spanContext) |
|
static Span |
Span.current() |
Returns the Span from the current Context , falling back to a default, no-op
Span if there is no span in the current context.
|
static Span |
Span.fromContext(Context context) |
Returns the Span from the specified Context , falling back to a default, no-op
Span if there is no span in the context.
|
static Span |
Span.fromContextOrNull(Context context) |
Returns the Span from the specified Context , or null if there is no
span in the context.
|
static Span |
Span.getInvalid() |
|
Span |
PropagatedSpan.recordException(java.lang.Throwable exception) |
|
Span |
PropagatedSpan.recordException(java.lang.Throwable exception,
Attributes additionalAttributes) |
|
default Span |
Span.recordException(java.lang.Throwable exception) |
Records information about the Throwable to the Span .
|
Span |
Span.recordException(java.lang.Throwable exception,
Attributes additionalAttributes) |
Records information about the Throwable to the Span .
|
Span |
PropagatedSpan.setAllAttributes(Attributes attributes) |
|
default Span |
Span.setAllAttributes(Attributes attributes) |
Sets attributes to the Span .
|
<T> Span |
PropagatedSpan.setAttribute(AttributeKey<T> key,
T value) |
|
Span |
PropagatedSpan.setAttribute(java.lang.String key,
boolean value) |
|
Span |
PropagatedSpan.setAttribute(java.lang.String key,
double value) |
|
Span |
PropagatedSpan.setAttribute(java.lang.String key,
long value) |
|
Span |
PropagatedSpan.setAttribute(java.lang.String key,
java.lang.String value) |
|
default Span |
Span.setAttribute(AttributeKey<java.lang.Long> key,
int value) |
Sets an attribute to the Span .
|
<T> Span |
Span.setAttribute(AttributeKey<T> key,
T value) |
Sets an attribute to the Span .
|
default Span |
Span.setAttribute(java.lang.String key,
boolean value) |
Sets an attribute to the Span .
|
default Span |
Span.setAttribute(java.lang.String key,
double value) |
Sets an attribute to the Span .
|
default Span |
Span.setAttribute(java.lang.String key,
long value) |
Sets an attribute to the Span .
|
default Span |
Span.setAttribute(java.lang.String key,
java.lang.String value) |
Sets an attribute to the Span .
|
Span |
PropagatedSpan.setStatus(StatusCode statusCode) |
|
Span |
PropagatedSpan.setStatus(StatusCode statusCode,
java.lang.String description) |
|
default Span |
Span.setStatus(StatusCode statusCode) |
Sets the status to the Span .
|
Span |
Span.setStatus(StatusCode statusCode,
java.lang.String description) |
Sets the status to the Span .
|
Span |
DefaultTracer.NoopSpanBuilder.startSpan() |
|
Span |
SpanBuilder.startSpan() |
|
Span |
PropagatedSpan.updateName(java.lang.String name) |
|
Span |
Span.updateName(java.lang.String name) |
Updates the Span name.
|
static Span |
Span.wrap(SpanContext spanContext) |
Returns a non-recording Span that holds the provided SpanContext but has no
functionality.
|