philkra/elastic-apm-php-agent
PHP agent for Elastic APM that instruments your application to capture transactions, spans, errors, and performance metrics. Sends telemetry to Elastic APM Server for tracing and monitoring, with support for web and CLI workloads and configurable sampling.
In case you want to disable the agent dynamically for hybrid SAPI usage, please use the following snippet.
'active' => PHP_SAPI !== 'cli'
In case for the Laravel APM provider:
'active' => PHP_SAPI !== 'cli' && env('ELASTIC_APM_ACTIVE', false)
Thank you to @jblotus, (https://github.com/philkra/elastic-apm-laravel/issues/19)
How can I help you explore Laravel packages today?