Skip navigation links
A B C E F G H I K L P R S T W 

A

AbstractTag<T> - Class in io.opentracing.tag
 
AbstractTag(String) - Constructor for class io.opentracing.tag.AbstractTag
 
addReference(String, SpanContext) - Method in interface io.opentracing.Tracer.SpanBuilder
Add a reference from the Span being built to a distinct (usually parent) Span.
asChildOf(SpanContext) - Method in interface io.opentracing.Tracer.SpanBuilder
A shorthand for addReference(References.CHILD_OF, parent).
asChildOf(Span) - Method in interface io.opentracing.Tracer.SpanBuilder
A shorthand for addReference(References.CHILD_OF, parent.context()).

B

baggageItems() - Method in interface io.opentracing.SpanContext
 
BINARY - Static variable in class io.opentracing.propagation.Format.Builtin
The BINARY format allows for unconstrained binary encoding of SpanContext state for Tracer.inject and Tracer.extract.
BooleanTag - Class in io.opentracing.tag
 
buildSpan(String) - Method in interface io.opentracing.Tracer
Return a new SpanBuilder for a Span with the given `operationName`.
Builtin() - Constructor for class io.opentracing.propagation.Format.Builtin
 

C

CHILD_OF - Static variable in class io.opentracing.References
See http://opentracing.io/spec/#causal-span-references for more information about CHILD_OF references
close() - Method in interface io.opentracing.Span
 
COMPONENT - Static variable in class io.opentracing.tag.Tags
COMPONENT is a low-cardinality identifier of the module, library, or package that is instrumented.
context() - Method in interface io.opentracing.Span
Retrieve the associated SpanContext.

E

ERROR - Static variable in class io.opentracing.tag.Tags
ERROR indicates whether a Span ended in an error state.
extract(Format<C>, C) - Method in interface io.opentracing.Tracer
Extract a SpanContext from a `carrier` of a given type, presumably after propagation across a process boundary.

F

finish() - Method in interface io.opentracing.Span
Sets the end timestamp to now and records the span.
finish(long) - Method in interface io.opentracing.Span
Sets an explicit end timestamp and records the span.
FOLLOWS_FROM - Static variable in class io.opentracing.References
See http://opentracing.io/spec/#causal-span-references for more information about FOLLOWS_FROM references
Format<C> - Interface in io.opentracing.propagation
Format instances control the behavior of Tracer.inject and Tracer.extract (and also constrain the type of the carrier parameter to same).
Format.Builtin<C> - Class in io.opentracing.propagation
 

G

getBaggageItem(String) - Method in interface io.opentracing.Span
 
getKey() - Method in class io.opentracing.tag.AbstractTag
 

H

HTTP_HEADERS - Static variable in class io.opentracing.propagation.Format.Builtin
The HTTP_HEADERS format allows for HTTP-header-compatible String->String map encoding of SpanContext state for Tracer.inject and Tracer.extract.
HTTP_STATUS - Static variable in class io.opentracing.tag.Tags
HTTP_STATUS records the http status code of the response.
HTTP_URL - Static variable in class io.opentracing.tag.Tags
HTTP_URL records the url of the incoming request.

I

inject(SpanContext, Format<C>, C) - Method in interface io.opentracing.Tracer
Inject a SpanContext into a `carrier` of a given type, presumably for propagation across process boundaries.
IntTag - Class in io.opentracing.tag
 
io.opentracing - package io.opentracing
 
io.opentracing.propagation - package io.opentracing.propagation
 
io.opentracing.tag - package io.opentracing.tag
 
iterator() - Method in interface io.opentracing.propagation.TextMap
Gets an iterator over arbitrary key:value pairs from the TextMapReader.
iterator() - Method in class io.opentracing.propagation.TextMapExtractAdapter
 
iterator() - Method in class io.opentracing.propagation.TextMapInjectAdapter
 

K

key - Variable in class io.opentracing.tag.AbstractTag
 

L

log(Map<String, ?>) - Method in interface io.opentracing.Span
Log key:value pairs to the Span with the current walltime timestamp.
log(long, Map<String, ?>) - Method in interface io.opentracing.Span
Like log(Map<String, Object>), but with an explicit timestamp.
log(String) - Method in interface io.opentracing.Span
Record an event at the current walltime timestamp.
log(long, String) - Method in interface io.opentracing.Span
Record an event at a specific timestamp.
log(String, Object) - Method in interface io.opentracing.Span
Deprecated.
use Span.log(Map) like this span.log(Map.of("event", "timeout")) or span.log(timestampMicroseconds, Map.of("event", "exception", "payload", stackTrace))
log(long, String, Object) - Method in interface io.opentracing.Span
Deprecated.
use Span.log(Map) like this span.log(timestampMicroseconds, Map.of("event", "timeout")) or span.log(timestampMicroseconds, Map.of("event", "exception", "payload", stackTrace))

P

PEER_HOST_IPV4 - Static variable in class io.opentracing.tag.Tags
PEER_HOST_IPV4 records IPv4 host address of the peer.
PEER_HOST_IPV6 - Static variable in class io.opentracing.tag.Tags
PEER_HOST_IPV6 records the IPv6 host address of the peer.
PEER_HOSTNAME - Static variable in class io.opentracing.tag.Tags
PEER_HOSTNAME records the host name of the peer.
PEER_PORT - Static variable in class io.opentracing.tag.Tags
PEER_PORT records the port number of the peer.
PEER_SERVICE - Static variable in class io.opentracing.tag.Tags
PEER_SERVICE records the service name of the peer.
put(String, String) - Method in interface io.opentracing.propagation.TextMap
Puts a key:value pair into the TextMapWriter's backing store.
put(String, String) - Method in class io.opentracing.propagation.TextMapExtractAdapter
 
put(String, String) - Method in class io.opentracing.propagation.TextMapInjectAdapter
 

R

References - Class in io.opentracing
References is essentially a namespace for the official OpenTracing reference types.

S

SAMPLING_PRIORITY - Static variable in class io.opentracing.tag.Tags
SAMPLING_PRIORITY determines the priority of sampling this Span.
set(Span, Boolean) - Method in class io.opentracing.tag.BooleanTag
 
set(Span, Integer) - Method in class io.opentracing.tag.IntTag
 
set(Span, Short) - Method in class io.opentracing.tag.ShortTag
 
set(Span, String) - Method in class io.opentracing.tag.StringTag
 
set(Span, StringTag) - Method in class io.opentracing.tag.StringTag
 
setBaggageItem(String, String) - Method in interface io.opentracing.Span
Sets a baggage item in the Span (and its SpanContext) as a key/value pair.
setOperationName(String) - Method in interface io.opentracing.Span
Sets the string name for the logical operation this span represents.
setTag(String, String) - Method in interface io.opentracing.Span
Set a key:value tag on the Span.
setTag(String, boolean) - Method in interface io.opentracing.Span
Same as Span.setTag(String, String), but for boolean values.
setTag(String, Number) - Method in interface io.opentracing.Span
Same as Span.setTag(String, String), but for numeric values.
ShortTag - Class in io.opentracing.tag
 
Span - Interface in io.opentracing
Represents an in-flight span in the opentracing system.
SPAN_KIND - Static variable in class io.opentracing.tag.Tags
SPAN_KIND hints at the relationship between spans, e.g.
SPAN_KIND_CLIENT - Static variable in class io.opentracing.tag.Tags
A constant for setting the span kind to indicate that it represents a client span.
SPAN_KIND_SERVER - Static variable in class io.opentracing.tag.Tags
A constant for setting the span kind to indicate that it represents a server span.
SpanContext - Interface in io.opentracing
SpanContext represents Span state that must propagate to descendant Spans and across process boundaries.
start() - Method in interface io.opentracing.Tracer.SpanBuilder
Returns the started Span.
StringTag - Class in io.opentracing.tag
 

T

Tags - Class in io.opentracing.tag
The following span tags are recommended for instrumentors who are trying to capture more semantic information about the spans.
TEXT_MAP - Static variable in class io.opentracing.propagation.Format.Builtin
The TEXT_MAP format allows for arbitrary String->String map encoding of SpanContext state for Tracer.inject and Tracer.extract.
TextMap - Interface in io.opentracing.propagation
TextMap is a built-in carrier for Tracer.inject() and Tracer.extract().
TextMapExtractAdapter - Class in io.opentracing.propagation
A TextMap carrier for use with Tracer.extract() ONLY (it has no mutating methods).
TextMapExtractAdapter(Map<String, String>) - Constructor for class io.opentracing.propagation.TextMapExtractAdapter
 
TextMapInjectAdapter - Class in io.opentracing.propagation
A TextMap carrier for use with Tracer.inject() ONLY (it has no read methods).
TextMapInjectAdapter(Map<String, String>) - Constructor for class io.opentracing.propagation.TextMapInjectAdapter
 
Tracer - Interface in io.opentracing
Tracer is a simple, thin interface for Span creation and propagation across arbitrary transports.
Tracer.SpanBuilder - Interface in io.opentracing
 

W

withStartTimestamp(long) - Method in interface io.opentracing.Tracer.SpanBuilder
Specify a timestamp of when the Span was started, represented in microseconds since epoch.
withTag(String, String) - Method in interface io.opentracing.Tracer.SpanBuilder
Same as Span.setTag(String, String), but for the span being built.
withTag(String, boolean) - Method in interface io.opentracing.Tracer.SpanBuilder
Same as Span.setTag(String, String), but for the span being built.
withTag(String, Number) - Method in interface io.opentracing.Tracer.SpanBuilder
Same as Span.setTag(String, String), but for the span being built.
A B C E F G H I K L P R S T W 
Skip navigation links

Copyright © 2016 OpenTracing. All rights reserved.