Top Description Methods
io.micrometer.tracing.annotation

public Interface NewSpanParser

Known Direct Implementers
io.micrometer.tracing.annotation.DefaultNewSpanParser
Imports
io.micrometer.tracing.Span, org.aopalliance.intercept.MethodInvocation

Parses data for a span created via a NewSpan annotation.
Author
Adrian Cole
Since
1.0.0

Method Summary

Modifier and TypeMethod and Description
public void
parse(MethodInvocation
method invocation annotated with new span
methodInvocation
,
NewSpan
meta data of the new span
newSpan
,
Span
span to customize
span
)

Override to control the name and tags on an annotation-based span.

Method Detail

parseback to summary
public void parse(MethodInvocation methodInvocation, NewSpan newSpan, Span span)

Override to control the name and tags on an annotation-based span.

Parameters
methodInvocation:MethodInvocation

method invocation annotated with new span

newSpan:NewSpan

meta data of the new span

span:Span

span to customize