@InternalApi(value="For internal use by google-cloud-java clients only")
@InternalExtensionOnly
public interface ApiTracerFactory
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApiTracerFactory.OperationType
The type of operation the
ApiTracer is tracing. |
| Modifier and Type | Method and Description |
|---|---|
ApiTracer |
newTracer(ApiTracer parent,
SpanName spanName,
ApiTracerFactory.OperationType operationType)
Create a new
ApiTracer that will be a child of the current context. |
ApiTracer newTracer(ApiTracer parent, SpanName spanName, ApiTracerFactory.OperationType operationType)
ApiTracer that will be a child of the current context.parent - the parent of this tracerspanName - the name of the new spanoperationType - the type of operation that the tracer will trace