@BetaApi(value="Surface for tracing is not yet stable")
@InternalExtensionOnly
public interface ApiTracerFactory
| Modifier and Type | Method and Description |
|---|---|
ApiTracer |
newRootTracer(SpanName spanName)
Create a new
ApiTracer that will ignore the current context and start a new toplevel
trace. |
ApiTracer |
newTracer(SpanName spanName)
Create a new
ApiTracer that will be a child of the current context. |