Download the PHP package zoon/pyrospy without Composer
On this page you can find all versions of the php package zoon/pyrospy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package pyrospy
PyroSpy
Adapter from phpspy to pyroscope.io
About Us
|
Zoon - it's international service, that helps local businesses grow.
|
Phpspy requirements
apt install binutils
for Ubuntu/Debian- To use in docker container it must be
privileged
or with capabilitySYS_PTRACE
Parameters:
Usage:
Memory profiling
- add
--memory-usage
option to phpspy command to add current and maximum memory usage to tags - add
--memory
option to pyrospy command to send average memory usage for traces instead of sum count
Tee can be used to get memory usage and cpu samples from same phpspy stdout
Plugins
- Create
.php
plugin class. Put it in any place. Make sure it hasnamespace Zoon\PyroSpy\Plugins;
and classname match filename.
Multiple plugins can be provided. Each plugin will get tags and trace from results of the previous.
- Add
--request-info=QCuP
to phpspy args, to add uri string to tags. - Provide full path to it in pyrospy arguments.
- To ignore a trace, return an empty trace.
Example:
All versions of pyrospy with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-mbstring Version *
ext-json Version *
ext-curl Version *
amphp/amp Version ^3.0
revolt/event-loop Version ^1.0
amphp/http-client Version ^5
amphp/byte-stream Version ^2.0
symfony/console Version ^5|^6|^7
amphp/pipeline Version ^1.0
ext-mbstring Version *
ext-json Version *
ext-curl Version *
amphp/amp Version ^3.0
revolt/event-loop Version ^1.0
amphp/http-client Version ^5
amphp/byte-stream Version ^2.0
symfony/console Version ^5|^6|^7
amphp/pipeline Version ^1.0
The package zoon/pyrospy contains the following files
Loading the files please wait ....