Skip to content

Provides a tracer implementation for Zipkin for the auxmoney/OpentracingBundle-core

License

Notifications You must be signed in to change notification settings

auxmoney/OpentracingBundle-Zipkin

Repository files navigation

auxmoney OpentracingBundle - Zipkin

test GitHub release (latest SemVer) Codacy Badge Code Climate maintainability Scrutinizer code quality (GitHub/Bitbucket) GitHub

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.

Configuration

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

Existing Samplers

  • constant sampler

    • Class: Zipkin\Samplers\BinarySampler
    • possible values: 'true' / 'false'
    • Description: you activate or deactivate the tracing
  • percentage sampler

    • Class: Zipkin\Samplers\PercentageSampler
    • possible values: Rate min '0.00' - max '1.00'
    • Description: you activate the tracing for the given rate