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.
elastic/apm-agent-php).prometheus/client_php)."This package lets us instrument Laravel apps with minimal effort to track performance bottlenecks and errors in production—without building a custom solution. By integrating with Elastic APM, we’ll get centralized dashboards, automated alerts, and end-to-end tracing for faster incident response. It’s a low-risk, high-reward way to improve reliability, especially if we’re already using Elasticsearch. The MIT license avoids vendor lock-in, and the overhead is negligible."
Key Outcomes: ✅ Reduce MTTR with contextual error tracking. ✅ Optimize performance via latency breakdowns (DB, HTTP, queues). ✅ Align with SRE goals with standardized observability.
*"This is a drop-in APM agent for Laravel that:
Why use it?
Trade-offs:
elastic/apm-agent-php if active updates are critical.Proposal:
Alternatives considered:
How can I help you explore Laravel packages today?