Skip to content

auxmoney/OpentracingBundle-Jaeger

Repository files navigation

auxmoney OpentracingBundle - Jaeger

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

This symfony bundle provides a tracer implementation for Jaeger 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 Jaeger\Sampler\ConstSampler 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: Jaeger\Sampler\ConstSampler
    • possible values: 'true' / 'false'
    • Description: you activate or deactivate the tracing
  • probabilistic sampler

    • Class: Jaeger\Sampler\ProbabilisticSampler
    • possible values: Rate min '0.00' - max '1.00'
    • Description: you activate the tracing for the given rate