Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

abandon() - Method in interface io.micrometer.tracing.Span
Ends the span.
addLink(Link) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Adds a link.
addLink(Link) - Method in interface io.micrometer.tracing.Span.Builder
Adds a link to the newly created Span.
addLinks(List<Link>) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Adds links.
ALWAYS_SAMPLE - Enum constant in enum class io.micrometer.tracing.SamplerFunction.Constants
Deprecated.
Will always sample this trace.
alwaysSample() - Static method in interface io.micrometer.tracing.SamplerFunction
Deprecated.
Always sampling SamplerFunction.
append(String, String) - Static method in class io.micrometer.tracing.contextpropagation.reactor.ReactorBaggage
Appends a single baggage entry to the existing Function.
append(Map<String, String>) - Static method in class io.micrometer.tracing.contextpropagation.reactor.ReactorBaggage
Appends baggage entries to the existing Function.

B

Baggage - Interface in io.micrometer.tracing
Inspired by OpenZipkin Brave's BaggageField.
BaggageInScope - Interface in io.micrometer.tracing
Inspired by OpenZipkin Brave's BaggageField.
BaggageManager - Interface in io.micrometer.tracing
Manages Baggage entries.
BaggageToPropagate - Class in io.micrometer.tracing.contextpropagation
Wrapper around baggage to propagate.
BaggageToPropagate(String...) - Constructor for class io.micrometer.tracing.contextpropagation.BaggageToPropagate
Creates a new instance of BaggageToPropagate with a single baggage entry.
BaggageToPropagate(Map<String, String>) - Constructor for class io.micrometer.tracing.contextpropagation.BaggageToPropagate
Creates a new instance of BaggageToPropagate with this baggage.
BaggageView - Interface in io.micrometer.tracing
Inspired by OpenZipkin Brave's BaggageField.
build() - Method in interface io.micrometer.tracing.TraceContext.Builder
Builds the trace context.
byteFromBase16String(CharSequence, int) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Decodes the specified two character sequence, and returns the resulting byte.
byteToBase16(byte, char[], int) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Converts the byte to base16 string.

C

CLIENT - Enum constant in enum class io.micrometer.tracing.Span.Kind
Indicates that the span covers the client-side wrapper around an RPC or other remote request.
close() - Method in interface io.micrometer.tracing.BaggageInScope
 
close() - Method in interface io.micrometer.tracing.CurrentTraceContext.Scope
 
close() - Method in interface io.micrometer.tracing.exporter.SpanReporter
 
close() - Method in class io.micrometer.tracing.exporter.TestSpanReporter
 
close() - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
 
close() - Method in class io.micrometer.tracing.SpanAndScope
 
close() - Method in interface io.micrometer.tracing.Tracer.SpanInScope
 
CONSUMER - Enum constant in enum class io.micrometer.tracing.Span.Kind
Indicates that the span describes consumer receiving a message from a broker.
context() - Method in interface io.micrometer.tracing.CurrentTraceContext
 
context() - Method in interface io.micrometer.tracing.ScopedSpan
 
context() - Method in interface io.micrometer.tracing.Span
 
ContinueSpan - Annotation Interface in io.micrometer.tracing.annotation
Continues the existing span.
continueSpanMethod(ProceedingJoinPoint) - Method in class io.micrometer.tracing.annotation.SpanAspect
 
createBaggage(String) - Method in interface io.micrometer.tracing.BaggageManager
createBaggage(String, String) - Method in interface io.micrometer.tracing.BaggageManager
createBaggageInScope(TraceContext, String, String) - Method in interface io.micrometer.tracing.BaggageManager
Creates a new Baggage entry, sets a value on it and puts it in scope.
createBaggageInScope(String, String) - Method in interface io.micrometer.tracing.BaggageManager
Creates a new Baggage entry, sets a value on it and puts it in scope.
createSenderSpan(T) - Method in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
Method to be used to create a sender span.
currentSpan() - Method in interface io.micrometer.tracing.Tracer
Retrieves the current span in scope or null if one is not available.
currentSpanCustomizer() - Method in interface io.micrometer.tracing.Tracer
Allows to customize the current span in scope.
currentTraceContext() - Method in interface io.micrometer.tracing.Tracer
Returns the CurrentTraceContext.
CurrentTraceContext - Interface in io.micrometer.tracing
This API was heavily influenced by Brave.
CurrentTraceContext.Scope - Interface in io.micrometer.tracing
Scope of a span.
customizeExtractedSpan(T, Span.Builder) - Method in class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
Customizes the extracted span (e.g.
customizeReceiverSpan(T, Span) - Method in class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
Allows to customize the receiver span before reporting it.
customizeSenderSpan(T, Span) - Method in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
Allows to customize the receiver span before reporting it.

D

DefaultNewSpanParser - Class in io.micrometer.tracing.annotation
Default implementation of the NewSpanParser that parses only the span name.
DefaultNewSpanParser() - Constructor for class io.micrometer.tracing.annotation.DefaultNewSpanParser
 
DefaultSpanNamer - Class in io.micrometer.tracing.internal
Default implementation of SpanNamer that tries to get the span name as follows:
DefaultSpanNamer() - Constructor for class io.micrometer.tracing.internal.DefaultSpanNamer
 
DefaultTracingObservationHandler - Class in io.micrometer.tracing.handler
TracingRecordingListener that uses the Tracing API to record events.
DefaultTracingObservationHandler(Tracer) - Constructor for class io.micrometer.tracing.handler.DefaultTracingObservationHandler
Creates a new instance of DefaultTracingObservationHandler.
DEFER_DECISION - Enum constant in enum class io.micrometer.tracing.SamplerFunction.Constants
Deprecated.
Always defers sampling decision.
deferDecision() - Static method in interface io.micrometer.tracing.SamplerFunction
Deprecated.
Always deferring SamplerFunction.

E

EMPTY_KEY_NAMES - Static variable in interface io.micrometer.tracing.docs.SpanDocumentation
Empty key names.
EMPTY_VALUES - Static variable in interface io.micrometer.tracing.docs.SpanDocumentation
Empty values.
EncodingUtils - Class in io.micrometer.tracing.internal
Adopted from OpenTelemetry API.
end() - Method in interface io.micrometer.tracing.ScopedSpan
Ends the span.
end() - Method in interface io.micrometer.tracing.Span
Ends the span.
end(long, TimeUnit) - Method in interface io.micrometer.tracing.Span
Ends the span.
endSpan(T, Span) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Ends span and clears resources.
equals(Object) - Method in class io.micrometer.tracing.contextpropagation.BaggageToPropagate
 
equals(Object) - Method in class io.micrometer.tracing.Link
 
error() - Method in interface io.micrometer.tracing.http.HttpClientResponse
Deprecated.
 
error() - Method in interface io.micrometer.tracing.http.HttpServerResponse
Deprecated.
 
error() - Method in interface io.micrometer.tracing.http.Response
Deprecated.
Returns the exception.
error(Throwable) - Method in interface io.micrometer.tracing.ScopedSpan
Records an exception for this span.
error(Throwable) - Method in interface io.micrometer.tracing.Span.Builder
Sets an error on the span.
error(Throwable) - Method in interface io.micrometer.tracing.Span
Records an exception for this span.
event(String) - Method in interface io.micrometer.tracing.ScopedSpan
Sets an event on this span.
event(String) - Method in interface io.micrometer.tracing.Span.Builder
Sets an event on the span.
event(String) - Method in interface io.micrometer.tracing.Span
Sets an event on this span.
event(String) - Method in interface io.micrometer.tracing.SpanCustomizer
Sets an event on a span.
event(String, long, TimeUnit) - Method in interface io.micrometer.tracing.Span
Sets an event on this span.
EventValue - Interface in io.micrometer.tracing.docs
Event value representing a notable event in time.
expression() - Element in annotation interface io.micrometer.tracing.annotation.SpanTag
Execute this expression to calculate the tag value.
extract(C, Propagator.Getter<C>) - Method in interface io.micrometer.tracing.propagation.Propagator
Extracts the value from upstream.

F

fields() - Method in interface io.micrometer.tracing.propagation.Propagator
 
FinishedSpan - Interface in io.micrometer.tracing.exporter
This API is inspired by OpenZipkin Brave (from {code MutableSpan}).
fromLong(long) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Converts long into string.
fromLongs(long, long) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Converts longs into string.
fromString(CharSequence) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Returns the long value.

G

get() - Method in interface io.micrometer.tracing.BaggageView
Retrieves baggage value.
get() - Method in class io.micrometer.tracing.ThreadLocalSpan
Returns the currently stored span and scope.
get(C, String) - Method in interface io.micrometer.tracing.propagation.Propagator.Getter
Returns the first value of the given propagation key or returns null.
get(TraceContext) - Method in interface io.micrometer.tracing.BaggageView
Retrieves baggage value from the given TraceContext.
getAdditionalKeyNames() - Method in interface io.micrometer.tracing.docs.SpanDocumentation
Additional key names.
getAllBaggage() - Method in interface io.micrometer.tracing.BaggageManager
 
getAllBaggage(TraceContext) - Method in interface io.micrometer.tracing.BaggageManager
 
getAttribute(String) - Method in interface io.micrometer.tracing.http.HttpServerRequest
Deprecated.
Returns an HTTP attribute.
getBaggage() - Method in class io.micrometer.tracing.contextpropagation.BaggageToPropagate
 
getBaggage() - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
Deprecated.
scheduled for removal in 1.5.0
getBaggage(TraceContext, String) - Method in interface io.micrometer.tracing.BaggageManager
Retrieves Baggage for the given name.
getBaggage(String) - Method in interface io.micrometer.tracing.BaggageManager
Retrieves Baggage for the given name.
getDuration() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getEndTimestamp() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getError() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getEvents() - Method in interface io.micrometer.tracing.docs.SpanDocumentation
Allowed events.
getEvents() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getKeyNames() - Method in interface io.micrometer.tracing.docs.SpanDocumentation
Allowed key names.
getKind() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getLinks() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getLocalIp() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getName() - Method in interface io.micrometer.tracing.docs.SpanDocumentation
Span name.
getName() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getName(String...) - Method in interface io.micrometer.tracing.docs.SpanDocumentation
Builds a name from provided vars.
getParentId() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getParentSpan(Observation.ContextView) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Get the current span from parent if applicable.
getPrefix() - Method in interface io.micrometer.tracing.docs.SpanDocumentation
Returns required prefix to be there for tags.
getRemoteIp() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getRemotePort() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getRemoteServiceName() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getRequiredSpan(T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Returns the span from the context or throws an exception if it's not there.
getScope() - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
Returns the scope of the span.
getScope() - Method in class io.micrometer.tracing.SpanAndScope
Gets the scope.
getSpan() - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
Returns the span.
getSpan() - Method in class io.micrometer.tracing.SpanAndScope
Gets the span.
getSpanId() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getSpanName(T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Get the span name.
getStartTimestamp() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getTags() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getTags() - Method in class io.micrometer.tracing.Link
Tags attached to this link.
getTraceContext() - Method in class io.micrometer.tracing.Link
TraceContext attached to this link.
getTraceId() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
 
getTracer() - Method in class io.micrometer.tracing.handler.DefaultTracingObservationHandler
 
getTracer() - Method in class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
 
getTracer() - Method in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
 
getTracer() - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Returns the Tracer.
getTracingContext(T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Get the current tracing context and updates the context if it's missing.
getTypedTags() - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Not all tracers (e.g.
getValue() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
 
getValue() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
 
getValue() - Method in interface io.micrometer.tracing.docs.EventValue
 

H

handleReceive(HttpClientResponse, Span) - Method in interface io.micrometer.tracing.http.HttpClientHandler
Deprecated.
Finishes the client span after assigning it tags according to the response or error.
handleReceive(HttpServerRequest) - Method in interface io.micrometer.tracing.http.HttpServerHandler
Deprecated.
Conditionally joins a span, or starts a new trace, depending on if a trace context was extracted from the request.
handleSend(HttpClientRequest) - Method in interface io.micrometer.tracing.http.HttpClientHandler
Deprecated.
Starts the client span after assigning it a name and tags.
handleSend(HttpClientRequest, TraceContext) - Method in interface io.micrometer.tracing.http.HttpClientHandler
Deprecated.
handleSend(HttpServerResponse, Span) - Method in interface io.micrometer.tracing.http.HttpServerHandler
Deprecated.
Finishes the server span after assigning it tags according to the response or error.
hashCode() - Method in class io.micrometer.tracing.contextpropagation.BaggageToPropagate
 
hashCode() - Method in class io.micrometer.tracing.Link
 
header(String) - Method in interface io.micrometer.tracing.http.HttpRequest
Deprecated.
Returns a header.
header(String) - Method in interface io.micrometer.tracing.http.HttpResponse
Deprecated.
Returns the header value.
header(String, String) - Method in interface io.micrometer.tracing.http.HttpClientRequest
Deprecated.
Adds a new header.
headerNames() - Method in interface io.micrometer.tracing.http.Request
Deprecated.
Returns the header names.
headerNames() - Method in interface io.micrometer.tracing.http.Response
Deprecated.
Returns the header names.
HttpClientHandler - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpClientRequest - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpClientResponse - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpRequest - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpRequestParser - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpResponse - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpResponseParser - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpServerHandler - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpServerRequest - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
HttpServerResponse - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0

I

ImperativeMethodInvocationProcessor - Class in io.micrometer.tracing.annotation
Method Invocation processor for imperative code.
ImperativeMethodInvocationProcessor(NewSpanParser, Tracer) - Constructor for class io.micrometer.tracing.annotation.ImperativeMethodInvocationProcessor
Creates a new instance of ImperativeMethodInvocationProcessor.
ImperativeMethodInvocationProcessor(NewSpanParser, Tracer, SpanTagAnnotationHandler) - Constructor for class io.micrometer.tracing.annotation.ImperativeMethodInvocationProcessor
Creates a new instance of ImperativeMethodInvocationProcessor.
ImperativeMethodInvocationProcessor(NewSpanParser, Tracer, Function<Class<? extends ValueResolver>, ? extends ValueResolver>, Function<Class<? extends ValueExpressionResolver>, ? extends ValueExpressionResolver>) - Constructor for class io.micrometer.tracing.annotation.ImperativeMethodInvocationProcessor
Creates a new instance of ImperativeMethodInvocationProcessor.
inject(TraceContext, C, Propagator.Setter<C>) - Method in interface io.micrometer.tracing.propagation.Propagator
Injects the value downstream, for example as HTTP headers.
io.micrometer.tracing - package io.micrometer.tracing
 
io.micrometer.tracing.annotation - package io.micrometer.tracing.annotation
 
io.micrometer.tracing.contextpropagation - package io.micrometer.tracing.contextpropagation
 
io.micrometer.tracing.contextpropagation.reactor - package io.micrometer.tracing.contextpropagation.reactor
 
io.micrometer.tracing.docs - package io.micrometer.tracing.docs
 
io.micrometer.tracing.exporter - package io.micrometer.tracing.exporter
 
io.micrometer.tracing.handler - package io.micrometer.tracing.handler
 
io.micrometer.tracing.http - package io.micrometer.tracing.http
 
io.micrometer.tracing.internal - package io.micrometer.tracing.internal
 
io.micrometer.tracing.propagation - package io.micrometer.tracing.propagation
 
isExportable(FinishedSpan) - Method in interface io.micrometer.tracing.exporter.SpanExportingPredicate
Called to export sampled Spans.
isExportable(FinishedSpan) - Method in class io.micrometer.tracing.exporter.SpanIgnoringSpanExportingPredicate
 
isNoop() - Method in interface io.micrometer.tracing.ScopedSpan
 
isNoop() - Method in interface io.micrometer.tracing.Span
 
isValidBase16String(CharSequence) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Checks if string is valid base16.

K

key() - Element in annotation interface io.micrometer.tracing.annotation.SpanTag
The name of the key of the tag which should be created.
key() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
 
key() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
 
KEY - Static variable in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
Key under which Micrometer Tracing Baggage accessor is being registered.
KEY - Static variable in class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
Key under which Micrometer Tracing is being registered.
kind() - Method in interface io.micrometer.tracing.http.HttpClientRequest
Deprecated.
 
kind() - Method in interface io.micrometer.tracing.http.HttpClientResponse
Deprecated.
 
kind() - Method in interface io.micrometer.tracing.http.HttpServerRequest
Deprecated.
 
kind() - Method in interface io.micrometer.tracing.http.HttpServerResponse
Deprecated.
 
kind() - Method in interface io.micrometer.tracing.http.Request
Deprecated.
Returns the transport kind.
kind() - Method in interface io.micrometer.tracing.http.Response
Deprecated.
Returns the transport kind.
kind(Span.Kind) - Method in interface io.micrometer.tracing.Span.Builder
Sets the kind on the span.

L

Link - Class in io.micrometer.tracing
Represents a link between spans.
Link(Span) - Constructor for class io.micrometer.tracing.Link
Creates a new instance of Link.
Link(Span, Map<String, Object>) - Constructor for class io.micrometer.tracing.Link
Creates a new instance of Link.
Link(TraceContext) - Constructor for class io.micrometer.tracing.Link
Creates a new instance of Link.
Link(TraceContext, Map<String, Object>) - Constructor for class io.micrometer.tracing.Link
Creates a new instance of Link.
log() - Element in annotation interface io.micrometer.tracing.annotation.ContinueSpan
Log statement to be appended to the span.
longFromBase16String(CharSequence) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Returns the long value whose base16 representation is stored in the first 16 chars of chars starting from the offset.
longToBase16String(long, char[], int) - Static method in class io.micrometer.tracing.internal.EncodingUtils
Converts the long to base16 string.

M

makeCurrent() - Method in interface io.micrometer.tracing.Baggage
Sets the current baggage in scope.
makeCurrent(TraceContext, String) - Method in interface io.micrometer.tracing.Baggage
Sets the current baggage in scope with given value.
makeCurrent(String) - Method in interface io.micrometer.tracing.Baggage
Sets the current baggage in scope with given value.
map(FinishedSpan) - Method in interface io.micrometer.tracing.exporter.SpanFilter
Called to mutate a FinishedSpan before its filtering.
maybeScope(TraceContext) - Method in interface io.micrometer.tracing.CurrentTraceContext
Like CurrentTraceContext.newScope(TraceContext), except returns a noop scope if the given context is already in scope.
method() - Method in interface io.micrometer.tracing.http.HttpRequest
Deprecated.
Returns an HTTP method.
method() - Method in interface io.micrometer.tracing.http.HttpResponse
Deprecated.
Returns an HTTP method.
MethodInvocationProcessor - Interface in io.micrometer.tracing.annotation
Contract for processing annotations.

N

name() - Element in annotation interface io.micrometer.tracing.annotation.NewSpan
The name of the span which will be created.
name() - Method in interface io.micrometer.tracing.BaggageView
Retrieves baggage name.
name(Object, String) - Method in class io.micrometer.tracing.internal.DefaultSpanNamer
 
name(Object, String) - Method in interface io.micrometer.tracing.SpanNamer
Retrieves the span name for the given object.
name(String) - Method in interface io.micrometer.tracing.ScopedSpan
Sets a name on this span.
name(String) - Method in interface io.micrometer.tracing.Span.Builder
Sets the name of the span.
name(String) - Method in interface io.micrometer.tracing.Span
Sets a name on this span.
name(String) - Method in interface io.micrometer.tracing.SpanCustomizer
Sets a name on a span.
NEVER_SAMPLE - Enum constant in enum class io.micrometer.tracing.SamplerFunction.Constants
Deprecated.
Will never sample this trace.
neverSample() - Static method in interface io.micrometer.tracing.SamplerFunction
Deprecated.
Never sampling SamplerFunction.
newScope(TraceContext) - Method in interface io.micrometer.tracing.CurrentTraceContext
Sets the current span in scope until the returned object is closed.
NewSpan - Annotation Interface in io.micrometer.tracing.annotation
Allows to create a new span around a public method.
newSpanMethod(ProceedingJoinPoint) - Method in class io.micrometer.tracing.annotation.SpanAspect
 
NewSpanParser - Interface in io.micrometer.tracing.annotation
Parses data for a span created via a NewSpan annotation.
nextSpan() - Method in interface io.micrometer.tracing.Tracer
This creates a new span based on the current span in scope.
nextSpan(Span) - Method in interface io.micrometer.tracing.Tracer
This creates a new span whose parent is Span.
NOOP - Static variable in interface io.micrometer.tracing.Baggage
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.BaggageInScope
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.BaggageManager
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.BaggageView
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.CurrentTraceContext
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.CurrentTraceContext.Scope
A noop implementation.
NOOP - Static variable in class io.micrometer.tracing.Link
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.propagation.Propagator.Getter
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.propagation.Propagator
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.propagation.Propagator.Setter
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.ScopedSpan
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.Span.Builder
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.Span
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.SpanCustomizer
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.TraceContext.Builder
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.TraceContext
A noop implementation.
NOOP - Static variable in interface io.micrometer.tracing.Tracer
A noop implementation.

O

ObservationAwareBaggageThreadLocalAccessor - Class in io.micrometer.tracing.contextpropagation
ThreadLocalAccessor used to propagate baggage via BaggageToPropagate.
ObservationAwareBaggageThreadLocalAccessor(ObservationRegistry, Tracer) - Constructor for class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
Creates a new instance of this class.
ObservationAwareSpanThreadLocalAccessor - Class in io.micrometer.tracing.contextpropagation
A ThreadLocalAccessor to put and restore current Span depending on whether ObservationThreadLocalAccessor did some work or not (if ObservationThreadLocalAccessor opened a scope, then this class doesn't want to create yet another span).
ObservationAwareSpanThreadLocalAccessor(ObservationRegistry, Tracer) - Constructor for class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
Creates a new instance of ObservationThreadLocalAccessor.
ObservationAwareSpanThreadLocalAccessor(Tracer) - Constructor for class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
Creates a new instance of ObservationThreadLocalAccessor.
onError(T) - Method in class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
 
onError(T) - Method in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
 
onError(T) - Method in class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
 
onError(T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
 
onEvent(Observation.Event, T) - Method in class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
 
onEvent(Observation.Event, T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
 
onScopeClosed(T) - Method in class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
 
onScopeClosed(T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Cleans the scope present in the context.
onScopeOpened(T) - Method in class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
 
onScopeOpened(T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Puts the span in scope.
onScopeReset(T) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
 
onStart(Observation.Context) - Method in class io.micrometer.tracing.handler.DefaultTracingObservationHandler
 
onStart(T) - Method in class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
 
onStart(T) - Method in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
 
onStart(T) - Method in class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
 
onStop(Observation.Context) - Method in class io.micrometer.tracing.handler.DefaultTracingObservationHandler
 
onStop(T) - Method in class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
 
onStop(T) - Method in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
 
onStop(T) - Method in class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
 
overridesDefaultSpanFrom() - Method in interface io.micrometer.tracing.docs.SpanDocumentation
Override this when custom span should be documented instead of the default one.

P

parentId() - Method in interface io.micrometer.tracing.TraceContext
Parent span id.
parentId(String) - Method in interface io.micrometer.tracing.TraceContext.Builder
Sets parent id on the trace context.
parse(HttpRequest, TraceContext, SpanCustomizer) - Method in interface io.micrometer.tracing.http.HttpRequestParser
Deprecated.
Implement to choose what data from the http request are parsed into the span representing it.
parse(HttpResponse, TraceContext, SpanCustomizer) - Method in interface io.micrometer.tracing.http.HttpResponseParser
Deprecated.
Implement to choose what data from the http response are parsed into the span representing it.
parse(MethodInvocation, NewSpan, Span) - Method in class io.micrometer.tracing.annotation.DefaultNewSpanParser
 
parse(MethodInvocation, NewSpan, Span) - Method in interface io.micrometer.tracing.annotation.NewSpanParser
Override to control the name and tags on an annotation-based span.
path() - Method in interface io.micrometer.tracing.http.HttpRequest
Deprecated.
Returns an HTTP path.
poll() - Method in class io.micrometer.tracing.exporter.TestSpanReporter
Polls stored spans for the latest entry.
process(MethodInvocation, NewSpan, ContinueSpan) - Method in class io.micrometer.tracing.annotation.ImperativeMethodInvocationProcessor
 
process(MethodInvocation, NewSpan, ContinueSpan) - Method in interface io.micrometer.tracing.annotation.MethodInvocationProcessor
Executes the annotated method.
PRODUCER - Enum constant in enum class io.micrometer.tracing.Span.Kind
Indicates that the span describes producer sending a message to a broker.
PropagatingReceiverTracingObservationHandler<T extends io.micrometer.observation.transport.ReceiverContext> - Class in io.micrometer.tracing.handler
A TracingObservationHandler called when receiving occurred - e.g.
PropagatingReceiverTracingObservationHandler(Tracer, Propagator) - Constructor for class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
PropagatingSenderTracingObservationHandler<T extends io.micrometer.observation.transport.SenderContext> - Class in io.micrometer.tracing.handler
A TracingObservationHandler called when sending occurred - e.g.
PropagatingSenderTracingObservationHandler(Tracer, Propagator) - Constructor for class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
Propagator - Interface in io.micrometer.tracing.propagation
Inspired by OpenZipkin Brave and OpenTelemetry.
Propagator.Getter<C> - Interface in io.micrometer.tracing.propagation
Interface that allows a Propagator to read propagated fields from a carrier.
Propagator.Setter<C> - Interface in io.micrometer.tracing.propagation
Class that allows a Propagator to set propagated fields into a carrier.

R

ReactorBaggage - Class in io.micrometer.tracing.contextpropagation.reactor
Helper class to work with Reactor Context and BaggageToPropagate.
remoteIp() - Method in interface io.micrometer.tracing.http.HttpRequest
Deprecated.
Returns a remote IP.
remoteIpAndPort(String, int) - Method in interface io.micrometer.tracing.Span.Builder
Sets the remote URL for the span.
remoteIpAndPort(String, int) - Method in interface io.micrometer.tracing.Span
Sets the remote url on the span.
remotePort() - Method in interface io.micrometer.tracing.http.HttpRequest
Deprecated.
Returns a remote port.
remoteServiceName(String) - Method in interface io.micrometer.tracing.Span.Builder
Sets the remote service name for the span.
remoteServiceName(String) - Method in interface io.micrometer.tracing.Span
Sets the remote service name for the span.
remove() - Method in class io.micrometer.tracing.ThreadLocalSpan
Removes the current span from thread local and brings back the previous span to the current thread local.
report(FinishedSpan) - Method in interface io.micrometer.tracing.exporter.SpanReporter
Reports the finished span.
report(FinishedSpan) - Method in class io.micrometer.tracing.exporter.TestSpanReporter
 
request() - Method in interface io.micrometer.tracing.http.HttpClientResponse
Deprecated.
 
request() - Method in interface io.micrometer.tracing.http.HttpResponse
Deprecated.
 
request() - Method in interface io.micrometer.tracing.http.HttpServerResponse
Deprecated.
 
request() - Method in interface io.micrometer.tracing.http.Response
Deprecated.
Returns the HTTP request.
Request - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
reset() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
Deprecated.
resolver() - Element in annotation interface io.micrometer.tracing.annotation.SpanTag
Use this bean to resolve the tag value.
Response - Interface in io.micrometer.tracing.http
Deprecated.
scheduled for removal in 1.4.0
restore() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
 
restore() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
 
restore(BaggageToPropagate) - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
 
restore(Span) - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
 
route() - Method in interface io.micrometer.tracing.http.HttpRequest
Deprecated.
Returns an expression such as "/items/:itemId" representing an application endpoint, conventionally associated with the tag key "http.route".
route() - Method in interface io.micrometer.tracing.http.HttpResponse
Deprecated.
Returns an expression such as "/items/:itemId" representing an application endpoint, conventionally associated with the tag key "http.route".

S

sampled() - Method in interface io.micrometer.tracing.TraceContext
 
sampled(Boolean) - Method in interface io.micrometer.tracing.TraceContext.Builder
Sets sampled on the trace context.
SamplerFunction<T> - Interface in io.micrometer.tracing
Deprecated.
scheduled for removal in 1.4.0
SamplerFunction.Constants - Enum Class in io.micrometer.tracing
Deprecated.
Constant SamplerFunctions.
ScopedSpan - Interface in io.micrometer.tracing
Represents the "current span" until ScopedSpan.end() ()} is called.
SERVER - Enum constant in enum class io.micrometer.tracing.Span.Kind
Indicates that the span covers server-side handling of an RPC or other remote request.
set(C, String, String) - Method in interface io.micrometer.tracing.propagation.Propagator.Setter
Replaces a propagated field with the given value.
set(Span) - Method in class io.micrometer.tracing.ThreadLocalSpan
Sets given span and scope.
set(TraceContext, String) - Method in interface io.micrometer.tracing.Baggage
set(String) - Method in interface io.micrometer.tracing.Baggage
setAttribute(String, Object) - Method in interface io.micrometer.tracing.http.HttpServerRequest
Deprecated.
Sets an HTTP attribute.
setBaggage(Map<String, String>) - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
Deprecated.
scheduled for removal in 1.5.0
setError(Throwable) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the error.
setEvents(Collection<Map.Entry<Long, String>>) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the events.
setLocalIp(String) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the local ip.
setMaybeScopeOnTracingContext(TracingObservationHandler.TracingContext, Span) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Creates or reuses an existing CurrentTraceContext.Scope given the Span.
setName(String) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the name.
setNoParent() - Method in interface io.micrometer.tracing.Span.Builder
Sets no parent of the built span.
setParent(TraceContext) - Method in interface io.micrometer.tracing.Span.Builder
Sets the parent of the built span.
setRemotePort(int) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the remote port.
setRemoteServiceName(String) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the remote service name.
setScope(CurrentTraceContext.Scope) - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
Sets the current trace context scope.
setSpan(Span) - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
Sets the span.
setSpanAndScope(Span, CurrentTraceContext.Scope) - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
Convenience method to set both span and scope.
setSpanTagAnnotationHandler(SpanTagAnnotationHandler) - Method in class io.micrometer.tracing.annotation.ImperativeMethodInvocationProcessor
Setting this enables support for SpanTag.
setTags(Map<String, String>) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the tags.
setTypedTags(Map<String, Object>) - Method in interface io.micrometer.tracing.exporter.FinishedSpan
Sets the tags with typed values.
setValue() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
 
setValue() - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
 
setValue(BaggageToPropagate) - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareBaggageThreadLocalAccessor
 
setValue(Span) - Method in class io.micrometer.tracing.contextpropagation.ObservationAwareSpanThreadLocalAccessor
 
shorten(String) - Static method in class io.micrometer.tracing.internal.SpanNameUtil
Shortens the name of a span.
Span - Interface in io.micrometer.tracing
This API was heavily influenced by Brave.
Span.Builder - Interface in io.micrometer.tracing
In some cases (e.g.
Span.Kind - Enum Class in io.micrometer.tracing
Type of span.
SpanAndScope - Class in io.micrometer.tracing
Container object for Span and its corresponding Tracer.SpanInScope.
SpanAndScope(Span, Tracer.SpanInScope) - Constructor for class io.micrometer.tracing.SpanAndScope
Creates a new span and scope
SpanAspect - Class in io.micrometer.tracing.annotation
AspectJ aspect for intercepting types or methods annotated with @NewSpan or @ContinueSpan.
SpanAspect(MethodInvocationProcessor) - Constructor for class io.micrometer.tracing.annotation.SpanAspect
 
spanBuilder() - Method in interface io.micrometer.tracing.Tracer
In some cases (e.g.
SpanCustomizer - Interface in io.micrometer.tracing
Allows to customize the current span in scope.
SpanDocumentation - Interface in io.micrometer.tracing.docs
In order to describe your spans via e.g.
SpanExportingPredicate - Interface in io.micrometer.tracing.exporter
An interface that allows to filter whether a given reported span should be exported or not.
SpanFilter - Interface in io.micrometer.tracing.exporter
An interface that allows to mutate a finished Span.
spanId() - Method in interface io.micrometer.tracing.TraceContext
Span id.
spanId(String) - Method in interface io.micrometer.tracing.TraceContext.Builder
Sets span id on the trace context.
SpanIgnoringSpanExportingPredicate - Class in io.micrometer.tracing.exporter
SpanExportingPredicate that ignores spans via names.
SpanIgnoringSpanExportingPredicate(List<String>, List<String>) - Constructor for class io.micrometer.tracing.exporter.SpanIgnoringSpanExportingPredicate
Creates a new instance of SpanIgnoringSpanExportingPredicate.
SpanName - Annotation Interface in io.micrometer.tracing
Annotation to provide the name for the span.
SpanNamer - Interface in io.micrometer.tracing
Describes how for a given object a span should be named.
SpanNameUtil - Class in io.micrometer.tracing.internal
Utility class that provides the name in hyphen based notation.
SpanReporter - Interface in io.micrometer.tracing.exporter
An interface that allows to process spans after they got finished.
spans() - Method in class io.micrometer.tracing.exporter.TestSpanReporter
Returns collected spans.
SpanTag - Annotation Interface in io.micrometer.tracing.annotation
There are 3 different ways to add tags to a span.
SpanTagAnnotationHandler - Class in io.micrometer.tracing.annotation
This class is able to find all methods annotated with the Micrometer Tracing annotations.
SpanTagAnnotationHandler(Function<Class<? extends ValueResolver>, ? extends ValueResolver>, Function<Class<? extends ValueExpressionResolver>, ? extends ValueExpressionResolver>) - Constructor for class io.micrometer.tracing.annotation.SpanTagAnnotationHandler
 
start() - Method in interface io.micrometer.tracing.Span.Builder
Builds and starts the span.
start() - Method in interface io.micrometer.tracing.Span
Starts this span.
startScopedSpan(String) - Method in interface io.micrometer.tracing.Tracer
Returns a new child span if there's a Tracer.currentSpan() or a new trace if there isn't.
startTimestamp(long, TimeUnit) - Method in interface io.micrometer.tracing.Span.Builder
Sets start timestamp.
statusCode() - Method in interface io.micrometer.tracing.http.HttpResponse
Deprecated.
Returns the HTTP status code.
supportsContext(Observation.Context) - Method in class io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler
 
supportsContext(Observation.Context) - Method in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
 
supportsContext(Observation.Context) - Method in class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
 
supportsContext(Observation.Context) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
 

T

tag(String, boolean) - Method in interface io.micrometer.tracing.Span.Builder
Sets a tag on the span.
tag(String, boolean) - Method in interface io.micrometer.tracing.Span
Sets a tag on this span.
tag(String, boolean) - Method in interface io.micrometer.tracing.SpanCustomizer
Sets a tag on a span.
tag(String, double) - Method in interface io.micrometer.tracing.Span.Builder
Sets a tag on the span.
tag(String, double) - Method in interface io.micrometer.tracing.Span
Sets a tag on this span.
tag(String, double) - Method in interface io.micrometer.tracing.SpanCustomizer
Sets a tag on a span.
tag(String, long) - Method in interface io.micrometer.tracing.Span.Builder
Sets a tag on the span.
tag(String, long) - Method in interface io.micrometer.tracing.Span
Sets a tag on this span.
tag(String, long) - Method in interface io.micrometer.tracing.SpanCustomizer
Sets a tag on a span.
tag(String, String) - Method in interface io.micrometer.tracing.ScopedSpan
Sets a tag on this span.
tag(String, String) - Method in interface io.micrometer.tracing.Span.Builder
Sets a tag on the span.
tag(String, String) - Method in interface io.micrometer.tracing.Span
Sets a tag on this span.
tag(String, String) - Method in interface io.micrometer.tracing.SpanCustomizer
Sets a tag on a span.
tagSpan(T, Span) - Method in interface io.micrometer.tracing.handler.TracingObservationHandler
Tags the span.
TestSpanReporter - Class in io.micrometer.tracing.exporter
SpanReporter with access to stored FinishedSpan.
TestSpanReporter() - Constructor for class io.micrometer.tracing.exporter.TestSpanReporter
 
ThreadLocalSpan - Class in io.micrometer.tracing
Represents a Span stored in thread local.
ThreadLocalSpan(Tracer) - Constructor for class io.micrometer.tracing.ThreadLocalSpan
Creates a new instance of ThreadLocalSpan.
toLowerHyphen(String) - Static method in class io.micrometer.tracing.internal.SpanNameUtil
Converts the name to a lower hyphen version.
toString() - Method in class io.micrometer.tracing.contextpropagation.BaggageToPropagate
 
toString() - Method in class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
 
toString() - Method in class io.micrometer.tracing.Link
 
toString() - Method in class io.micrometer.tracing.SpanAndScope
 
TraceContext - Interface in io.micrometer.tracing
Contains trace and span data.
TraceContext.Builder - Interface in io.micrometer.tracing
Builder for TraceContext.
traceContextBuilder() - Method in interface io.micrometer.tracing.Tracer
Builder for TraceContext.
traceId() - Method in interface io.micrometer.tracing.TraceContext
Trace id.
traceId(String) - Method in interface io.micrometer.tracing.TraceContext.Builder
Sets trace id on the trace context.
Tracer - Interface in io.micrometer.tracing
This API was heavily influenced by Brave.
Tracer.SpanInScope - Interface in io.micrometer.tracing
Scope of a span.
TracingAwareMeterObservationHandler<T extends io.micrometer.observation.Observation.Context> - Class in io.micrometer.tracing.handler
A MeterObservationHandler that can wrap another one and makes the tracing data available for it.
TracingAwareMeterObservationHandler(MeterObservationHandler<T>, Tracer) - Constructor for class io.micrometer.tracing.handler.TracingAwareMeterObservationHandler
Creates a new instance of TracingAwareMeterObservationHandler.
TracingContext() - Constructor for class io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
 
TracingObservationHandler<T extends io.micrometer.observation.Observation.Context> - Interface in io.micrometer.tracing.handler
Marker interface for tracing handlers.
TracingObservationHandler.TracingContext - Class in io.micrometer.tracing.handler
Basic tracing context.
trySample(T) - Method in interface io.micrometer.tracing.SamplerFunction
Deprecated.
Returns an overriding sampling decision for a new trace.

U

unwrap() - Method in interface io.micrometer.tracing.http.Request
Deprecated.
Returns the underlying request object.
unwrap() - Method in interface io.micrometer.tracing.http.Response
Deprecated.
Returns the underlying response object.
url() - Method in interface io.micrometer.tracing.http.HttpRequest
Deprecated.
Returns an HTTP URL.

V

value() - Element in annotation interface io.micrometer.tracing.annotation.NewSpan
The name of the span which will be created.
value() - Element in annotation interface io.micrometer.tracing.annotation.SpanTag
The name of the key of the tag which should be created.
value() - Element in annotation interface io.micrometer.tracing.SpanName
Name of the span to be resolved at runtime.
valueOf(String) - Static method in enum class io.micrometer.tracing.SamplerFunction.Constants
Deprecated.
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.micrometer.tracing.Span.Kind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.micrometer.tracing.SamplerFunction.Constants
Deprecated.
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.micrometer.tracing.Span.Kind
Returns an array containing the constants of this enum class, in the order they are declared.

W

withSpan(Span) - Method in interface io.micrometer.tracing.Tracer
Makes the given span the "current span" and returns an object that exits that scope on close.
wrap(Runnable) - Method in interface io.micrometer.tracing.CurrentTraceContext
Wraps a task in a trace representation.
wrap(Callable<C>) - Method in interface io.micrometer.tracing.CurrentTraceContext
Wraps a task in a trace representation.
wrap(Executor) - Method in interface io.micrometer.tracing.CurrentTraceContext
Wraps an executor in a trace representation.
wrap(ExecutorService) - Method in interface io.micrometer.tracing.CurrentTraceContext
Wraps an executor service in a trace representation.
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values