Traces | Metrics | App Logs | Custom Logs | Profiling |
---|---|---|---|---|
- | - | - |
extension=opentelemetry.so
to your php.ini
file (depending on which Linux distribution you’re using):
Ubuntu/Debian:
CentOS/RHEL:
Arch Linux:
Specific to the Web-Serve:
pecl:command not found
, then you need to run follow cmd:
libpcre2-dev : Depends: libpcre2-8-0 / libpcre2-16-0 / libpcre2-32-0
, then you need to run follow cmd:
ERROR: 'phpize' failed
, then you need to run follow cmd:
composer.json
file in your project’s root directory. If you don’t have one, you can create it using composer init
. Run below command in your terminal to install Middleware’s APM-PHP package.
mw-agent-ns-{FIRST-5-LETTERS-OF-API-KEY}
namespace
For newer setup, we simplified the namespace name to mw-agent-ns