worksome / laravel-telemetry
Telemetry support for Laravel
Installs: 150 615
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 12
Forks: 1
Open Issues: 1
Requires
- php: ^8.2
- illuminate/contracts: ^10.48 || ^11.0
- open-telemetry/api: ^1.0.3
- open-telemetry/exporter-otlp: ^1.0.4
- open-telemetry/sdk: ^1.0.8
- php-http/guzzle7-adapter: ^1.0
Requires (Dev)
- google/protobuf: ^3.25
- larastan/larastan: ^2.9
- nunomaduro/collision: ^7.10 || ^8.1
- orchestra/testbench: ^8.21.1 || ^9.2
- pestphp/pest: ^2.34
- pestphp/pest-plugin-laravel: ^2.4
- worksome/coding-style: ^2.11
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