public class TraceUtil extends Object
HttpDatastoreRpc with
OpenCensus APIs.
TraceUtil instances are created by the getInstance() method.
| Modifier and Type | Method and Description |
|---|---|
static TraceUtil |
getInstance()
Return TraceUtil Object.
|
io.opencensus.trace.Tracer |
getTracer()
Return the global
Tracer. |
protected io.opencensus.trace.Span |
startSpan(String spanName)
Starts a new span.
|
protected io.opencensus.trace.Span startSpan(String spanName)
spanName - The name of the returned Span.Span.public io.opencensus.trace.Tracer getTracer()
Tracer.Tracer.Copyright © 2020 Google LLC. All rights reserved.