bonch.dev / laravel-jaeger
v0.0.2
2021-12-24 14:37 UTC
Requires
- chocofamilyme/laravel-jaeger: ^0.1.5
- illuminate/container: ^7|^8
- illuminate/contracts: ^7|^8
- illuminate/http: ^7|^8
- illuminate/support: ^7|^8
This package is auto-updated.
Last update: 2025-03-24 18:36:26 UTC
README
by bonch.dev
Description
Additional package for chocofamilyme/laravel-jaeger
, that spaning the controllers,
middlewares and inject tracing header to PendingReqeust
through custom BonchDev\LaravelJaeger\Client\Factory
instance which extends default Illuminate\Http\Client\Factory
. If you use Http
facade, that will contains injected
tracer headers.
Features
Inject tracing header to
PendingReqeust
through customBonchDev\LaravelJaeger\Client\Factory
instance which extends defaultIlluminate\Http\Client\Factory
Spaning middlewares, controllers and controller's actions. Classes can be added in whitelists or blacklists, if you need
Installation
composer require bonch.dev/laravel-jaeger
- Add
KernelMiddleware
trait to yourApp\Http\Kernel
php artisan laravel-jaeger:provider
php artisan vendor:publish
and chooseBonchDev\LaravelJaeger\ServiceProvider
php artisan vendor:publish
and chooseChocofamilyme\LaravelJaeger\LaravelJaegerServiceProvider
- Customize configs
jaeger.php
andlaravel-jaeger.php
as you wish