Class ExportComponent.NoopExportComponent
java.lang.Object
io.opencensus.trace.export.ExportComponent
io.opencensus.trace.export.ExportComponent.NoopExportComponent
- Enclosing class:
ExportComponent
- Since:
- 0.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theRunningSpanStorethat can be used to get useful debugging information about all the current active spans.Returns theSampledSpanStorethat can be used to get useful debugging information, such as latency based sampled spans, error based sampled spans.Returns theSpanExporterwhich can be used to register handlers to export all the spans that are part of a distributed sampled trace (seeTraceOptions.isSampled()).Methods inherited from class ExportComponent
newNoopExportComponent, shutdown
-
Field Details
-
noopSampledSpanStore
-
-
Constructor Details
-
NoopExportComponent
private NoopExportComponent()
-
-
Method Details
-
getSpanExporter
Description copied from class:ExportComponentReturns theSpanExporterwhich can be used to register handlers to export all the spans that are part of a distributed sampled trace (seeTraceOptions.isSampled()).- Specified by:
getSpanExporterin classExportComponent- Returns:
- the implementation of the
SpanExporteror no-op if no implementation linked in the binary.
-
getRunningSpanStore
Description copied from class:ExportComponentReturns theRunningSpanStorethat can be used to get useful debugging information about all the current active spans.- Specified by:
getRunningSpanStorein classExportComponent- Returns:
- the
RunningSpanStore.
-
getSampledSpanStore
Description copied from class:ExportComponentReturns theSampledSpanStorethat can be used to get useful debugging information, such as latency based sampled spans, error based sampled spans.- Specified by:
getSampledSpanStorein classExportComponent- Returns:
- the
SampledSpanStore.
-