cego / elastic-apm-wrapper
Adds easy-to-use Apm methods to wrap code in spans.
Installs: 10 111
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 0
Open Issues: 2
Requires
- php: ^7.4 || ^8.0
Requires (Dev)
- ext-elastic_apm: *
- cego/php-cs-fixer: ^1.0
This package is auto-updated.
Last update: 2024-11-28 10:25:32 UTC
README
Minimalistic wrapper for the elastic-apm-agent methods that checks if APM exists and is enabled.
This aids to have APM-dependent code run in environments where APM is not enabled.
Install
composer require cego/elastic-apm-wrapper
Contributing
You are welcome to open issues and pull request, please describe the issues and pull requests carefully to enable our understanding of the issue.
Before contributing code, please run the cs-fixer:
/vendor/bin/php-cs-fixer fix