blob: e14f91e8e585410b7cb61a70a62825a12c1e4b71 [file] [log] [blame]
Miroslav Zagorac70230c62020-12-09 16:54:31 +01001service_name:
2 SA
3
4###
5# When using configuration object to instantiate the tracer, the type of
6# sampling can be selected via sampler.type and sampler.param properties.
7# Jaeger libraries support the following samplers:
8#
9# - Constant (sampler.type=const) sampler always makes the same decision for
10# all traces. It either samples all traces (sampler.param=1) or none of
11# them (sampler.param=0).
12#
13# - Probabilistic (sampler.type=probabilistic) sampler makes a random sampling
14# decision with the probability of sampling equal to the value of
15# sampler.param property. For example, with sampler.param=0.1 approximately
16# 1 in 10 traces will be sampled.
17#
18# - Rate Limiting (sampler.type=ratelimiting) sampler uses a leaky bucket rate
19# limiter to ensure that traces are sampled with a certain constant rate.
20# For example, when sampler.param=2.0 it will sample requests with the rate
21# of 2 traces per second.
22#
23# - Remote (sampler.type=remote, which is also the default) sampler consults
24# Jaeger agent for the appropriate sampling strategy to use in the current
25# service. This allows controlling the sampling strategies in the services
26# from a central configuration in Jaeger backend, or even dynamically.
27#
28sampler:
29 type: ratelimiting
30 param: 10.0
31
32reporter:
33 logSpans: true
34 localAgentHostPort: localhost:6831