@InternalApi public class WrappedTracerFactory extends Object implements ApiTracerFactory
ApiTracerFactory
to augment the client name of the generated
traces.
This is used to disambiguate traces in underlying GAPIC client from the manually written overlay.
For internal use, public for technical reasons.
ApiTracerFactory.OperationType
Constructor and Description |
---|
WrappedTracerFactory(ApiTracerFactory tracerFactory,
String clientName) |
Modifier and Type | Method and Description |
---|---|
ApiTracer |
newTracer(ApiTracer parent,
SpanName spanName,
ApiTracerFactory.OperationType operationType) |
public WrappedTracerFactory(ApiTracerFactory tracerFactory, String clientName)
public ApiTracer newTracer(ApiTracer parent, SpanName spanName, ApiTracerFactory.OperationType operationType)
newTracer
in interface ApiTracerFactory
Copyright © 2019 Google LLC. All rights reserved.