NewSpanParser that parses only the span name.
Code ported from Spring Cloud Sleuth.
| Modifier and Type | Field and Description |
|---|---|
| private static final InternalLogger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(MethodInvocation
method invocation annotated with new span pjp, NewSpan meta data of the new span newSpan, Span span to customize span)Implements io. |
| private String |
| log | back to summary |
|---|---|
| private static final InternalLogger log | |
| DefaultNewSpanParser | back to summary |
|---|---|
| public DefaultNewSpanParser() | |
| parse | back to summary |
|---|---|
| public void parse(MethodInvocation pjp, NewSpan newSpan, Span span) Implements io. Doc from io. Override to control the name and tags on an annotation-based span.
| |
| spanName | back to summary |
|---|---|
| private String spanName(NewSpan newSpan, MethodInvocation pjp) | |