Interface ExportSampler

  • All Implemented Interfaces:

    
    public interface ExportSampler
    
                        

    A sampler that runs during the export phase of the trace pipeline.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract SamplingResult sampleSpan(SpanData span) Returns a sampling result for a span.
      abstract SamplingResult sampleLog(LogRecordData log) Returns a sampling result for a log.
      abstract Boolean isSamplingEnabled() Returns true if sampling is enabled.
      abstract Unit setConfig(SamplingConfig config)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail