Package 

Class FilteringSpanExporter

  • All Implemented Interfaces:
    io.opentelemetry.sdk.trace.export.SpanExporter , java.io.Closeable , java.lang.AutoCloseable

    
    public class FilteringSpanExporter
     implements SpanExporter
                        

    An exporter that will filter (not export) spans that fail a predicate.

    • Method Summary

      Modifier and Type Method Description
      static FilteringSpanExporterBuilder builder(SpanExporter delegate)
      CompletableResultCode export(Collection<SpanData> spans)
      CompletableResultCode flush()
      CompletableResultCode shutdown()
      • Methods inherited from class io.opentelemetry.sdk.trace.export.SpanExporter

        close, composite, export, flush, shutdown
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait