davidmanassa / elastic-apm-php-agent
A php agent for Elastic APM v2 Intake API
v1.0.3
2025-01-28 21:16 UTC
Requires
- php-64bit: >= 7.1
- ext-curl: *
- ext-json: *
- php-http/discovery: ^1.18
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- ralouphie/getallheaders: 2.*|3.*
Requires (Dev)
- http-interop/http-factory-guzzle: ^1.2
- justinrainbow/json-schema: ^5.2
- php-http/guzzle7-adapter: ^1.0
- psr/log: ^1.1
- roave/security-advisories: dev-master
Suggests
- http-interop/http-factory-guzzle: PSR-17 compatible factories for usage with PSR-18
- php-http/guzzle7-adapter: PSR-18 compatible Guzzle7 adapter
This package is auto-updated.
Last update: 2025-03-01 00:42:54 UTC
README
This is a community PHP agent for Elastic.co's APM solution, supporting the v2
Intake API.
Please note: This agent is not officially supported by Elastic.
This package is a continuation of the excellent work done by philkra at philkra/elastic-apm-php-agent.
Important Note: As of v8.1.0, this package requires a 64bit version of PHP. This requirement is due to the use of int values for the timestamps expected by APM.
Documentation
Examples
- Agent Initialization
- Basic Usage
- Capture Throwable
- Spans
- Parent Transactions
- Metricset
- Getting the Server Info
- Distributed Tracing
- Converting debug_backtrace to a stack trace
Contributing
Contributions are welcome. Read the contributing guide to get started.
Contributors
A big thank you goes out to every contributor of this repo, special thanks goes out to: