Class ExportComponent

    • Constructor Detail

      • ExportComponent

        public ExportComponent()
    • Method Detail

      • newNoopExportComponent

        public static ExportComponent newNoopExportComponent()
        Returns the no-op implementation of the ExportComponent.
        Returns:
        the no-op implementation of the ExportComponent.
        Since:
        0.5
      • getSpanExporter

        public 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()).
        Returns:
        the implementation of the SpanExporter or no-op if no implementation linked in the binary.
        Since:
        0.5
      • getRunningSpanStore

        public abstract RunningSpanStore getRunningSpanStore()
        Returns the RunningSpanStore that can be used to get useful debugging information about all the current active spans.
        Returns:
        the RunningSpanStore.
        Since:
        0.5
      • getSampledSpanStore

        public 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.
        Returns:
        the SampledSpanStore.
        Since:
        0.5
      • shutdown

        public void shutdown()
        Will shutdown this ExportComponent after flushing any pending spans.
        Since:
        0.14