Package | Description |
---|---|
io.opentracing | |
io.opentracing.tag |
Modifier and Type | Method and Description |
---|---|
Span |
Tracer.activeSpan() |
Span |
Span.log(long timestampMicroseconds,
Map<String,?> fields)
Like log(Map<String, Object>), but with an explicit timestamp.
|
Span |
Span.log(long timestampMicroseconds,
String event)
Record an event at a specific timestamp.
|
Span |
Span.log(Map<String,?> fields)
Log key:value pairs to the Span with the current walltime timestamp.
|
Span |
Span.log(String event)
Record an event at the current walltime timestamp.
|
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 |
Scope.span() |
Span |
Tracer.SpanBuilder.start()
|
Span |
Tracer.SpanBuilder.startManual()
Deprecated.
use
Tracer.SpanBuilder.start() or Tracer.SpanBuilder.startActive(boolean) instead. |
Modifier and Type | Method and Description |
---|---|
Scope |
ScopeManager.activate(Span span,
boolean finishSpanOnClose)
Make a
Span instance active. |
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 |
StringTag.set(Span span,
String tagValue) |
void |
IntOrStringTag.set(Span span,
String tagValue) |
void |
StringTag.set(Span span,
StringTag tag) |
protected abstract void |
AbstractTag.set(Span span,
T tagValue) |
Copyright © 2016–2017 OpenTracing. All rights reserved.