Class JaegerConfiguration.JaegerSamplerConfiguration

java.lang.Object
io.micronaut.tracing.jaeger.JaegerConfiguration.JaegerSamplerConfiguration
Enclosing class:
JaegerConfiguration

@ConfigurationProperties("sampler") public static class JaegerConfiguration.JaegerSamplerConfiguration extends Object
The sampler configuration bean.
  • Field Details

    • configuration

      @ConfigurationBuilder(prefixes="with") protected io.jaegertracing.Configuration.SamplerConfiguration configuration
  • Constructor Details

    • JaegerSamplerConfiguration

      public JaegerSamplerConfiguration()
  • Method Details

    • getSamplerConfiguration

      public io.jaegertracing.Configuration.SamplerConfiguration getSamplerConfiguration()
      Returns:
      the SamplerConfiguration
    • setProbability

      public void setProbability(float probability)
      Sets the sampler probability used by the Jaeger sampler. A value of 1.0 indicates to sample all requests. A value of 0.1 indicates to sample 10% of requests.
      Parameters:
      probability - the sampler probability