worksome / laravel-telemetry
Telemetry support for Laravel
Installs: 121 286
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 11
Forks: 1
Open Issues: 2
Requires
- php: ^8.2
- illuminate/contracts: ^10.0 || ^11.0
- open-telemetry/api: ^1.0.3
- open-telemetry/exporter-otlp: ^1.0.3
- open-telemetry/sdk: ^1.0.8
- php-http/guzzle7-adapter: ^1.0
Requires (Dev)
- larastan/larastan: ^2.8
- nunomaduro/collision: ^7.10 || ^8.1
- orchestra/testbench: ^8.15 || ^9.0
- pestphp/pest: ^2.33
- pestphp/pest-plugin-laravel: ^2.2
- worksome/coding-style: ^2.8
README
Add Open Telemetry support to Laravel.
Install
You can install the package via composer:
composer require worksome/laravel-telemetry
You can publish the config file with:
php artisan vendor:publish --tag="laravel-telemetry-config"
Usage
This package will work out of the box with a default OTLP exporter configuration.
The default port is 4318
, and requests will be sent to http://localhost:4318
.
Testing
composer test