iqtool / laravel-signoz
Laravel Signoz integration
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/iqtool/laravel-signoz
Requires
- php: >=8.0.0
- illuminate/support: *
- open-telemetry/exporter-otlp: ^1.0
- open-telemetry/opentelemetry-auto-laravel: ^1.4
- open-telemetry/sdk: ^1.0
- php-http/guzzle7-adapter: ^1.0
README
A Laravel package to integrate OpenTelemetry for SigNoz, providing Traces, Metrics, and Logs via OTLP.
Installation
Install the package via composer:
composer require iqtool/laravel-signoz
Configuration
Publish the configuration file:
php artisan vendor:publish --tag=laravel-signoz-config
usage
Configure your .env file to point to your SigNoz OTLP collector:
OTEL_SERVICE_NAME=your-app-name OTEL_EXPORTER_TYPE=otlp OTEL_EXPORTER_OTLP_ENDPOINT=http://locahost:4318 OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf OTEL_INSTRUMENTATION_DB_ENABLED=true
Features
- Traces: Auto-instrumentation for Laravel requests, jobs, and more via
opentelemetry-auto-laravel. - Metrics: Standard system and application metrics.
- Logs: Application logs sent to SigNoz.
- Database: Automatic query instrumentation.
License
The MIT License (MIT). Please see License File for more information.