Class Tracing
java.lang.Object
io.opencensus.trace.Tracing
Class that manages a global instance of the
TraceComponent.- Since:
- 0.5
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClockgetClock()Returns the globalClock.static ExportComponentReturns the globalExportComponent.static PropagationComponentReturns the globalPropagationComponent.static TraceConfigReturns the globalTraceConfig.static TracerReturns the globalTracer.
-
Method Details
-
getTracer
-
getPropagationComponent
Returns the globalPropagationComponent.- Returns:
- the global
PropagationComponent. - Since:
- 0.5
-
getClock
-
getExportComponent
Returns the globalExportComponent.- Returns:
- the global
ExportComponent. - Since:
- 0.5
-
getTraceConfig
Returns the globalTraceConfig.- Returns:
- the global
TraceConfig. - Since:
- 0.5
-