public abstract class ExportComponent extends Object
SpanExporter, RunningSpanStore and SampledSpanStore.
Unless otherwise noted all methods (on component) results are cacheable.
| Constructor and Description |
|---|
ExportComponent() |
| Modifier and Type | Method and Description |
|---|---|
static ExportComponent |
getNoopExportComponent()
Returns the no-op implementation of the
ExportComponent. |
abstract RunningSpanStore |
getRunningSpanStore()
Returns the
RunningSpanStore that can be used to get useful debugging information
about all the current active spans. |
abstract SampledSpanStore |
getSampledSpanStore()
Returns the
SampledSpanStore that can be used to get useful debugging information, such
as latency based sampled spans, error based sampled spans. |
abstract SpanExporter |
getSpanExporter()
Returns the
SpanExporter which can be used to register handlers to export all the spans
that are part of a distributed sampled trace (see TraceOptions.isSampled()). |
public static ExportComponent getNoopExportComponent()
ExportComponent.ExportComponent.public abstract SpanExporter getSpanExporter()
SpanExporter which can be used to register handlers to export all the spans
that are part of a distributed sampled trace (see TraceOptions.isSampled()).SpanExporter or no-op if no implementation linked in
the binary.@Nullable public abstract RunningSpanStore getRunningSpanStore()
RunningSpanStore that can be used to get useful debugging information
about all the current active spans.RunningSpanStore or null if not supported.@Nullable public abstract SampledSpanStore getSampledSpanStore()
SampledSpanStore that can be used to get useful debugging information, such
as latency based sampled spans, error based sampled spans.SampledSpanStore or null if not supported.