public class TraceScope extends Object implements Closeable
| Constructor and Description |
|---|
TraceScope(Span span) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKVAnnotation(String key,
Number value) |
void |
addKVAnnotation(String key,
String value) |
void |
addTimelineAnnotation(String msg) |
void |
close() |
void |
detach() |
Span |
getSpan() |
void |
reattach() |
Span |
span() |
public TraceScope(Span span)
public void addTimelineAnnotation(String msg)
public Span span()
public Span getSpan()
public void reattach()
public void detach()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2008–2022 Apache Software Foundation. All rights reserved.