yuchanns/elastic-apm-tracer

This package is abandoned and no longer maintained. No replacement package was suggested.

An elastic apm package for laravel which requires the extension elastic_apm.so

v0.1.4 2022-06-27 09:37 UTC

This package is auto-updated.

Last update: 2025-03-27 15:28:40 UTC


README

An elastic apm package for laravel which requires the extension elastic_apm.so

Requirements

  • Enable of Elastic Apm Extension.
  • Laravel
  • update /etc/php7/php-fpm.d/www.conf or config files like this if php-fpm is used:
    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

composer require yuchanns/elastic-apm-tracer

TODO Maybe (PR is Welcome)

  • Injection of HttpRequest
  • Injection of MongoDB
  • Injection of Redis