@InternalApi public final class NoopApiTracerFactory extends Object implements ApiTracerFactory
ApiTracers that do nothing.
For internal use only.
ApiTracerFactory.OperationType| Modifier and Type | Method and Description |
|---|---|
static NoopApiTracerFactory |
getInstance() |
ApiTracer |
newTracer(ApiTracer parent,
SpanName spanName,
ApiTracerFactory.OperationType operationType)
Create a new
ApiTracer that will be a child of the current context. |
public static NoopApiTracerFactory getInstance()
public ApiTracer newTracer(ApiTracer parent, SpanName spanName, ApiTracerFactory.OperationType operationType)
ApiTracer that will be a child of the current context.newTracer in interface ApiTracerFactoryparent - the parent of this tracerspanName - the name of the new spanoperationType - the type of operation that the tracer will trace