Class Tracing
java.lang.Object
io.opencensus.trace.Tracing
Class that manages a global instance of the
TraceComponent.- Since:
- 0.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.(package private) static TraceComponentloadTraceComponent(ClassLoader classLoader)
-
Field Details
-
logger
-
traceComponent
-
-
Constructor Details
-
Tracing
private Tracing()
-
-
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
-
loadTraceComponent
-