Package 

Class AllSampler

  • All Implemented Interfaces:
    com.datadog.trace.common.sampling.Sampler

    
    public class AllSampler
     implements Sampler
                        

    Sampler that always says yes...

    • Method Summary

      Modifier and Type Method Description
      String toString()
      <T extends CoreSpan<T>> boolean sample(T span) Sample a collection of traces based on the parent span
      • Methods inherited from class java.lang.Object

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

      • sample

         <T extends CoreSpan<T>> boolean sample(T span)

        Sample a collection of traces based on the parent span

        Parameters:
        span - the parent span with its context