@InternalApi(value="For internal use by google-cloud-java clients only") public class BaseApiTracerFactory extends Object implements ApiTracerFactory
ApiTracers that do nothing.
For internal use only.
ApiTracerFactory.OperationType| Modifier | Constructor and Description |
|---|---|
protected |
BaseApiTracerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static BaseApiTracerFactory |
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 BaseApiTracerFactory 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