Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuchanns/elastic-apm-tracer
An elastic apm package for laravel which requires the extension elastic_apm.so
https://github.com/yuchanns/elastic-apm-tracer
Last synced: 15 days ago
JSON representation
An elastic apm package for laravel which requires the extension elastic_apm.so
- Host: GitHub
- URL: https://github.com/yuchanns/elastic-apm-tracer
- Owner: yuchanns
- License: mit
- Created: 2022-04-03T20:14:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T09:38:56.000Z (over 2 years ago)
- Last Synced: 2024-03-29T01:43:50.848Z (7 months ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yuchanns/ElasticApmTracer
An elastic apm package for laravel which requires the extension elastic_apm.so
## Requirements
* Enable of [Elastic Apm Extension](https://github.com/elastic/apm-agent-php).
* Laravel
* update `/etc/php7/php-fpm.d/www.conf` or config files like this if php-fpm is used:
```ini
clear_env = no
env["ELASTIC_APM_SERVER_URL"] = $ELASTIC_APM_SERVER_URL
env["ELASTIC_APM_SERVICE_NAME"] = $ELASTIC_APM_SERVICE_NAME
env["ELASTIC_APM_SECRET_TOKEN"] = $ELASTIC_APM_SECRET_TOKEN
```
## Install
```bash
composer require yuchanns/elastic-apm-tracer
```## TODO Maybe (**PR is Welcome**)
- [x] Injection of HttpRequest
- [x] Injection of MongoDB
- [ ] Injection of Redis