worksome / laravel-telemetry
Telemetry support for Laravel
Installs: 172 347
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 12
Forks: 2
Open Issues: 0
Requires
- php: ^8.3
- illuminate/contracts: ^11.0 || ^12.0
- open-telemetry/api: ^1.2
- open-telemetry/exporter-otlp: ^1.2
- open-telemetry/sdk: ^1.2
- open-telemetry/sem-conv: ^1.30
- php-http/guzzle7-adapter: ^1.1
Requires (Dev)
- google/protobuf: ^3.22 || ^4.0
- larastan/larastan: ^3.1
- nunomaduro/collision: ^7.10 || ^8.1.1
- orchestra/testbench: ^9.12 || ^10.1
- pestphp/pest: ^3.7
- pestphp/pest-plugin-laravel: ^3.1
- worksome/coding-style: ^3.2
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