{"repo":"i-sazzad/laravel-opentelemetry","free":true,"listed":false,"github":"https://github.com/i-sazzad/laravel-opentelemetry","clone":"git clone https://github.com/i-sazzad/laravel-opentelemetry.git","description":"Laravel OpenTelemetry Package","language":"PHP","stars":12,"topics":["laravel","log","metrics","opentelemetry","trace"],"license":"MIT","category":"analytics","readme_excerpt":"OpenTelemetry Laravel Package OpenTelemetry Laravel is a Laravel package that integrates OpenTelemetry for automatic HTTP request tracing, query tracing, metrics collection, and enhanced logging with contextual trace information. --- Features - Automatic HTTP request tracing. - Automatic database query tracing with detailed SQL metrics. - Metrics collection for HTTP requests, database queries, and system performance. - Enhanced logging with contextual trace information. - Middleware support for seamless integration. - Customizable configuration. --- Requirements - PHP = 8.0 - Laravel = 9.x - Dependencies: - open-telemetry/exporter-otlp ^1.1 - open-telemetry/sdk ^1.1 - open-telemetry/transport-grpc ^1.1 --- Installation 1. Install via Composer ⚠️ If you encounter the following error: It means the gRPC PHP extension is not installed or enabled. You can fix this by: - Enabling the grpc extension in your php.ini file: For example: C:\\xampp\\php\\php.ini on Windows. - Restart your web server (Apache, Nginx) or PHP-FPM service after making changes. - Alternatively, to bypass this requirement during development, use: --- 2. Register the Service Provider Add the service provider to the providers array in config/app.php (this step is optional if your package uses auto-discovery): --- 3. Publish the Configuration File Publish the configuration file to your application: This will create a configuration file at config/opentelemetry.php . Update the settings as needed, such as the OTLP endp","default_branch":null,"files":null,"tree":[],"storefront":"/r/i-sazzad","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/i-sazzad/laravel-opentelemetry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}