ScopedSpan#end() ()} is called.
| Modifier and Type | Field and Description |
|---|---|
| public static final ScopedSpan | NOOP
A noop implementation. |
| Modifier and Type | Method and Description |
|---|---|
| public TraceContext | |
| public void | |
| public ScopedSpan | |
| public ScopedSpan | |
| public boolean | Returns: true when no recording is done and nothing is reported to an
external system. However, this span should still be injected into outgoing
requests. Use this flag to avoid performing expensive computation.
|
| public ScopedSpan | |
| public ScopedSpan |
| NOOP | back to summary |
|---|---|
| public static final ScopedSpan NOOP A noop implementation. | |
| context | back to summary |
|---|---|
public TraceContext context()
| |
| end | back to summary |
|---|---|
| public void end() Ends the span. The span gets stopped and recorded if not noop. | |
| error | back to summary |
|---|---|
| public ScopedSpan error(Throwable throwable) Records an exception for this span.
| |
| event | back to summary |
|---|---|
| public ScopedSpan event(String value) Sets an event on this span.
| |
| isNoop | back to summary |
|---|---|
public boolean isNoop()
| |
| name | back to summary |
|---|---|
| public ScopedSpan name(String name) Sets a name on this span.
| |
| tag | back to summary |
|---|---|
| public ScopedSpan tag(String key, String value) Sets a tag on this span.
| |