| Interface | Description |
|---|---|
| ErrorParser |
Contract for hooking into process of adding error response tags.
|
| Sampler |
Extremely simple callback to determine the frequency that an action should be traced.
|
| SpanAccessor |
Strategy for accessing the current span.
|
| SpanAdjuster |
Adds ability to adjust a span before reporting it.
|
| SpanContext |
Adopted from: https://github.com/opentracing/opentracing-java/blob/0.16.0/opentracing-api/src/main/java/io/opentracing/SpanContext.java
SpanContext represents Span state that must propagate to descendant Spans and across process boundaries.
|
| SpanExtractor<T> | |
| SpanInjector<T> | |
| SpanNamer |
Describes how for a given object a span should be named.
|
| SpanReporter |
Contract for reporting Sleuth spans for collection.
|
| SpanTextMap |
Adopted from: https://github.com/opentracing/opentracing-java/blob/0.16.0/opentracing-api/src/main/java/io/opentracing/propagation/TextMap.java
TextMap is a built-in carrier for
SpanInjector and SpanExtractor. |
| Tracer |
The Tracer class is the primary way for instrumentation code (note user code) to
interact with the library.
|
| Class | Description |
|---|---|
| DefaultSpanNamer |
Default implementation of SpanNamer that tries to get the span name as follows:
from the @SpanName annotation on the class if one is present
from the @SpanName annotation on the method if passed object is of a
Method type
from the toString() of the delegate if it's not the
default Object.toString()
the default provided value
|
| ExceptionMessageErrorParser |
ErrorParser that sets the error tag for an exportable span. |
| Log |
Represents an event in time associated with a span.
|
| NoOpSpanAdjuster |
Span adjuster that does nothing.
|
| NoOpSpanReporter |
Span reporter that does nothing
|
| Span |
Class for gathering and reporting statistics about a block of execution.
|
| Span.SpanBuilder | |
| TraceCallable<V> |
Callable that passes Span between threads.
|
| TraceKeys |
Well-known
span tag
keys. |
| TraceKeys.Async |
Trace keys related to async processing
|
| TraceKeys.Http | |
| TraceKeys.Hystrix |
Trace keys related to Hystrix processing
|
| TraceKeys.Message | |
| TraceKeys.Message.Payload | |
| TraceKeys.Mvc |
Trace keys related to MVC controller tags
|
| TraceRunnable |
Runnable that passes Span between threads.
|
| Annotation Type | Description |
|---|---|
| SpanName |
Annotation to provide the name for the span.
|
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.