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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theRunningSpanStore
that can be used to get useful debugging information about all the current active spans.Returns theSampledSpanStore
that can be used to get useful debugging information, such as latency based sampled spans, error based sampled spans.Returns theSpanExporter
which 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 Details
-
noopSampledSpanStore
-
-
Constructor Details
-
NoopExportComponent
private NoopExportComponent()
-
-
Method Details
-
getSpanExporter
Description copied from class:ExportComponent
Returns theSpanExporter
which can be used to register handlers to export all the spans that are part of a distributed sampled trace (seeTraceOptions.isSampled()
).- Specified by:
getSpanExporter
in classExportComponent
- Returns:
- the implementation of the
SpanExporter
or no-op if no implementation linked in the binary.
-
getRunningSpanStore
Description copied from class:ExportComponent
Returns theRunningSpanStore
that can be used to get useful debugging information about all the current active spans.- Specified by:
getRunningSpanStore
in classExportComponent
- Returns:
- the
RunningSpanStore
.
-
getSampledSpanStore
Description copied from class:ExportComponent
Returns theSampledSpanStore
that can be used to get useful debugging information, such as latency based sampled spans, error based sampled spans.- Specified by:
getSampledSpanStore
in classExportComponent
- Returns:
- the
SampledSpanStore
.
-