This symfony bundle provides a tracer implementation for Zipkin for the auxmoney OpentracingBundle.
Please have a look at the central documentation for installation and usage instructions.
You can optionally configure environment variables, however, the default configuration will sample every request. If you cannot change environment variables in your project, you can alternatively overwrite the container parameters directly.
environment variable | container parameter | type | default | description |
---|---|---|---|---|
AUXMONEY_OPENTRACING_SAMPLER_CLASS | auxmoney_opentracing.sampler.class | string |
Zipkin\Samplers\BinarySampler |
class of the using sampler, see existing samplers |
AUXMONEY_OPENTRACING_SAMPLER_VALUE | auxmoney_opentracing.sampler.value | string |
'true' |
must be a JSON decodable string, for the configuration of the sampler |
-
constant sampler
- Class:
Zipkin\Samplers\BinarySampler
- possible values:
'true'
/'false'
- Description: you activate or deactivate the tracing
- Class:
-
percentage sampler
- Class:
Zipkin\Samplers\PercentageSampler
- possible values: Rate min
'0.00'
- max'1.00'
- Description: you activate the tracing for the given rate
- Class: