Package io.opencensus.trace.export
Class ExportComponent.NoopExportComponent
- java.lang.Object
-
- io.opencensus.trace.export.ExportComponent
-
- io.opencensus.trace.export.ExportComponent.NoopExportComponent
-
- Enclosing class:
- ExportComponent
private static final class ExportComponent.NoopExportComponent extends ExportComponent
-
-
Field Summary
Fields Modifier and Type Field Description private SampledSpanStorenoopSampledSpanStore
-
Constructor Summary
Constructors Modifier Constructor Description privateNoopExportComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunningSpanStoregetRunningSpanStore()Returns theRunningSpanStorethat can be used to get useful debugging information about all the current active spans.SampledSpanStoregetSampledSpanStore()Returns theSampledSpanStorethat can be used to get useful debugging information, such as latency based sampled spans, error based sampled spans.SpanExportergetSpanExporter()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 io.opencensus.trace.export.ExportComponent
newNoopExportComponent, shutdown
-
-
-
-
Field Detail
-
noopSampledSpanStore
private final SampledSpanStore noopSampledSpanStore
-
-
Method Detail
-
getSpanExporter
public SpanExporter 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
public RunningSpanStore 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
public SampledSpanStore 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.
-
-