Download the PHP package upscale/swoole-newrelic without Composer
On this page you can find all versions of the php package upscale/swoole-newrelic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download upscale/swoole-newrelic
More information about upscale/swoole-newrelic
Files in upscale/swoole-newrelic
Package swoole-newrelic
Short Description New Relic APM monitoring of Swoole web-server
License Apache-2.0
Homepage https://github.com/upscalesoftware/swoole-newrelic
Informations about the package swoole-newrelic
New Relic Monitoring of Swoole
This library enables monitoring of PHP applications powered by Swoole web-server via New Relic products.
Features:
- New Relic APM integration
- New Relic Browser integration
Demo
Installation
The library is to be installed via Composer as a dependency:
Usage
Production
Monitoring of requests from start to finish can be activated by adding a few lines of code to the server entry point. The monitoring instrumentation is by design completely transparent to an application running on the server.
Install the monitoring instrumentation for all requests:
APM can be standalone or used in conjunction with the real user monitoring. RUM must be instrumented first.
Browser instrumentation is applied to non-AJAX requests having text/html
response MIME type (the default).
Development
Having to install the New Relic PHP extension locally may be inconvenient and outright undesirable for developers. The workaround is to replace the New Relic reporting functionality with the "stub" implementation doing nothing:
The PHP extension is used when installed and substituted with the polyfill otherwise.
Limitations
Concurrent requests subject to coroutine multi-tasking are reported as part of the first in-flight transaction.
Contributing
Pull Requests with fixes and improvements are welcome!
License
Copyright © Upscale Software. All rights reserved.
Licensed under the Apache License, Version 2.0.
All versions of swoole-newrelic with dependencies
ext-swoole Version ^4.0||^5.0
ext-newrelic Version >=3.0.5.95
upscale/swoole-reflection Version ^1.3||^2.0||^3.0