Package 

Interface SamplingRule.SpanSamplingRule

  • All Implemented Interfaces:
    com.datadog.trace.api.sampling.SamplingRule

    
    public interface SamplingRule.SpanSamplingRule
     implements SamplingRule
                        

    This interface describes the criteria of a sampling rule that can match against a span.

    • Method Summary

      Modifier and Type Method Description
      abstract int getMaxPerSecond() Gets the limit applied to the rule, using a token bucket limiter.
      • Methods inherited from class com.datadog.trace.api.sampling.SamplingRule

        getName, getResource, getSampleRate, getService, getTags, normalizeGlob
      • Methods inherited from class java.lang.Object

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

      • getMaxPerSecond

         abstract int getMaxPerSecond()

        Gets the limit applied to the rule, using a token bucket limiter.