vasary / tracer-bundle
A bundle that provides bridge to request_id
Installs: 212
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.3
- symfony/framework-bundle: ^5.0
- vasary/x-trace-id: ^1.0.6
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^9
- symfony/browser-kit: ^5.0
- symfony/monolog-bundle: ^3.3
- symfony/phpunit-bridge: ^5.0
- symfony/yaml: ^5.0
This package is auto-updated.
Last update: 2024-04-12 19:38:40 UTC
README
A bundle that provides requests tracing ability.
Install
Composer
composer require vasary/tracer-bundle
Kernel
Include the bundle in your Kernel
public function registerBundles() { return [ ... new Vasary\TracingBundle\TracingBundle() ];
Configuration
Default
tracing: header_name: x-trace-id log_field_name: x-trace-id application_name: change_me
Extra parameters can be placed in config/packages/(dev|test|prod)/tracing.yaml"
tracing: extra: key: value
You can also override these settings.