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 |
---|---|
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() ). |
static ExportComponent |
newNoopExportComponent()
Returns the no-op implementation of the
ExportComponent . |
public static ExportComponent newNoopExportComponent()
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.public abstract RunningSpanStore getRunningSpanStore()
RunningSpanStore
that can be used to get useful debugging information about
all the current active spans.RunningSpanStore
.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
.