auxmoney / opentracing-bundle-zipkin
Symfony Opentracing bundle extension for Zipkin tracers
Installs: 10 028
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 4
Open Issues: 2
Type:symfony-bundle
Requires
- php: ^8.0
- ext-json: *
- auxmoney/opentracing-bundle-core: ^1.3
- jcchavezs/zipkin-opentracing: ^2.0
- opentracing/opentracing: ^1.0.1
Requires (Dev)
- mtdowling/jmespath.php: ^2.6
- php-coveralls/php-coveralls: ^2.5
- phpmd/phpmd: ^2.12
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: ^1.2
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.6
- symfony/filesystem: *
- symfony/process: *
- symfony/yaml: *
Replaces
- auxmoney/opentracing-bundle-tracer-implementation: *
This package is auto-updated.
Last update: 2025-03-06 20:53:51 UTC
README
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
- 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: