Enum Class JaegerTracerBuilder.SamplerType

java.lang.Object
java.lang.Enum<JaegerTracerBuilder.SamplerType>
io.helidon.tracing.jaeger.JaegerTracerBuilder.SamplerType
All Implemented Interfaces:
Serializable, Comparable<JaegerTracerBuilder.SamplerType>, Constable
Enclosing class:
JaegerTracerBuilder

public static enum JaegerTracerBuilder.SamplerType extends Enum<JaegerTracerBuilder.SamplerType>
Sampler type definition. Available options are "const", "probabilistic", "ratelimiting" and "remote".
  • Enum Constant Details

    • CONSTANT

      public static final JaegerTracerBuilder.SamplerType CONSTANT
      Constant sampler always makes the same decision for all traces. It either samples all traces 1 or none of them 0.
    • PROBABILISTIC

      public static final JaegerTracerBuilder.SamplerType PROBABILISTIC
      Probabilistic sampler makes a random sampling decision with the probability of sampling equal to the value of the property.
    • RATE_LIMITING

      public static final JaegerTracerBuilder.SamplerType RATE_LIMITING
      Rate Limiting sampler uses a leaky bucket rate limiter to ensure that traces are sampled with a certain constant rate.
    • REMOTE

      public static final JaegerTracerBuilder.SamplerType REMOTE
      Remote sampler consults Jaeger agent for the appropriate sampling strategy to use in the current service.
  • Method Details

    • values

      public static JaegerTracerBuilder.SamplerType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JaegerTracerBuilder.SamplerType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null