overtrue/laravel-open-telemetry
OpenTelemetry integration for Laravel: instrument requests, queries, jobs, and more with traces, metrics, and logs using the official PHP SDK. Auto-configures providers and middleware so you can send telemetry to any OTLP-compatible backend with minimal setup.
Architecture fit
overtrue/laravel-open-telemetry is a Laravel service-provider package that wires the OpenTelemetry PHP SDK into framework lifecycle events (HTTP kernel, DB/Redis, queue). It is additive: it does not replace Laravel's logging or existing APM, it emits OTLP telemetry to a collector or OTLP-compatible backend.Integration feasibility
composer require, config publish, env-driven OTLP endpoint/headers, auto-discovery. Realistically a half-day PoC, one to two weeks to production-grade configuration.ext-grpc vs HTTP/protobuf) is an infrastructure decision that must be made up front and affects base image and extension management.Technical risk
0.0.32), never ^0.0.Key questions
dispatch() → worker → nested jobs, and across scheduler-invoked jobs?Stack fit
ext-grpc + protobuf or an HTTP/protobuf exporter.Migration path
config/telemetry.php/env so it can be turned off in one place.Compatibility
laravel/framework event listeners registered on JobProcessing/JobProcessed.Sequencing
0.0.32 (or later) in a sandbox app; stand up a local Collector + Jaeger/Tempo.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?