Class BaseApiTracerFactory (2.37.0)

public class BaseApiTracerFactory implements ApiTracerFactory

Base factory that will build ApiTracers that do nothing.

For internal use only.

Inheritance

java.lang.Object > BaseApiTracerFactory

Implements

ApiTracerFactory

Static Methods

getInstance()

public static BaseApiTracerFactory getInstance()
Returns
TypeDescription
BaseApiTracerFactory

Constructors

BaseApiTracerFactory()

protected BaseApiTracerFactory()

Methods

newTracer(ApiTracer parent, SpanName spanName, ApiTracerFactory.OperationType operationType)

public ApiTracer newTracer(ApiTracer parent, SpanName spanName, ApiTracerFactory.OperationType operationType)

Create a new ApiTracer that will be a child of the current context.

Parameters
NameDescription
parentApiTracer
spanNameSpanName
operationTypeApiTracerFactory.OperationType
Returns
TypeDescription
ApiTracer