Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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