Package | Description |
---|---|
io.opentracing | |
io.opentracing.tag |
Modifier and Type | Method and Description |
---|---|
Span |
Span.log(long timestampMicroseconds,
String eventName,
Object payload)
Add a new log event to the Span, accepting an event name string and an optional structured payload argument.
|
Span |
Span.log(String eventName,
Object payload)
Add a new log event to the Span, accepting an event name string and an optional structured payload argument.
|
Span |
Span.setBaggageItem(String key,
String value)
Sets a baggage item in the Span (and its SpanContext) as a key/value pair.
|
Span |
Span.setOperationName(String operationName)
Sets the string name for the logical operation this span represents.
|
Span |
Span.setTag(String key,
boolean value)
Same as
setTag(String, String) , but for boolean values. |
Span |
Span.setTag(String key,
Number value)
Same as
setTag(String, String) , but for numeric values. |
Span |
Span.setTag(String key,
String value)
Set a key:value tag on the Span.
|
Span |
Tracer.SpanBuilder.start()
Returns the started Span.
|
Modifier and Type | Method and Description |
---|---|
Tracer.SpanBuilder |
Tracer.SpanBuilder.asChildOf(Span parent)
A shorthand for addReference(References.CHILD_OF, parent.context()).
|
Modifier and Type | Method and Description |
---|---|
void |
BooleanTag.set(Span span,
Boolean tagValue) |
void |
IntTag.set(Span span,
Integer tagValue) |
void |
ShortTag.set(Span span,
Short tagValue) |
void |
StringTag.set(Span span,
String tagValue) |
void |
StringTag.set(Span span,
StringTag tag) |
Copyright © 2016 OpenTracing. All rights reserved.