auxmoney/opentracing-bundle-zipkin

Symfony Opentracing bundle extension for Zipkin tracers

Installs: 7 878

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 5

Forks: 4

Open Issues: 0

Type:symfony-bundle

v1.3.0 2023-05-04 15:09 UTC

This package is auto-updated.

Last update: 2024-04-04 16:59:35 UTC


README

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