@ConfigurationProperties(value="sampler") public static class JaegerConfiguration.JaegerSamplerConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected io.jaegertracing.Configuration.SamplerConfiguration |
configuration |
Constructor and Description |
---|
JaegerSamplerConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.jaegertracing.Configuration.SamplerConfiguration |
getSamplerConfiguration() |
void |
setProbability(float probability)
Sets the sampler probability used by the default
CountingSampler . |
@ConfigurationBuilder(prefixes="with") protected io.jaegertracing.Configuration.SamplerConfiguration configuration
public io.jaegertracing.Configuration.SamplerConfiguration getSamplerConfiguration()
Configuration.SamplerConfiguration
public void setProbability(float probability)
CountingSampler
. A value of 1.0
indicates to sample all requests. A value of 0.1 indicates to sample 10% of requests.probability
- The sampler probability