curl https://s3.amazonaws.com/atatus-artifacts/gpg/atatus.gpg | sudo apt-key add - echo "deb https://s3.amazonaws.com/atatus-artifacts/atatus-php/debian stable main" | sudo tee -a /etc/apt/sources.list.d/atatus-php-agent.list sudo apt-get update sudo ATATUS_LICENSE_KEY="APM_LIC_KEY" ATATUS_APP_NAME="APP_NAME" apt-get install atatus-php-agent -y
Make sure that license key and app name is set correctly in the Atatus configuration file: atatus.ini.
You can find the path of atatus.ini file by running
php -i | grep atatus.ini command in the shell.
Restart your server such as nginx, php-fpm, apache, httpd, etc. That's it! You've sent your first event.
PHP monitoring is a way to track how an application performs and behaves when end users interact with it. It provides developers with an easy way to diagnose, detect, and debug performance bottlenecks that may occur in PHP applications before users are affected.
PHP applications can go down for several reasons. These are a few of the most common problems:
Poorly written DB queries.
Slow functions and too many loops.
Third-party API issues.
Lack of caching strategy.
Misconfiguration in the web server.
Not using strict types and type hinting.
Writing code manually instead of using built-in functions.
PHP applications can go down for many reasons. These are a few of the most common problems:
Gives a holistic view of how your application is performing.
Helps to discover performance bottlenecks, memory bloats and leaks, slow db queries and much more.
Provides the exact line of the code where an error has occurred with the complete stack trace.
Boosts the performance of your application by resolving the issues faster.
Helps in increasing the conversion rate by offering a great end-user experience.
Improves developer productivity by reducing debugging time.
Here are some of the key performance metrics to determine the health of the PHP application in real time. PHP monitoring metrics include:
Slow DB Queries
Slow External Calls
You can use Atatus PHP monitoring solution, to keep track of the performance such as uptime, downtime, sudden application crashes, availability and much more.
Yes, we provide a 14-day free trial. To monitor your PHP app, look into our PHP monitoring documentation.
Atatus PHP APM agent causes a very minimum overhead of about 2-6 milliseconds, which does not impact the performance of your PHP application.
Try it free. No credit card required. Instant set-up.
Best APM Monitoring tool
— S Herman Kiefus, DevOps Admin, Compass
Atatus captures all requests to your PHP applications without requiring you to change your source code. Get a clear picture of how all your methods, database statements and external requests are affecting your user's experience.
Get deeper visibility of your transaction outliers and drill down to find out slow segments of your code that are slowing down your PHP app.
View the complete picture of the most time consuming PHP database queries and focus on slow database queries along with traces that provide the actionable insights.
Visualize where your code is spending most of its time in your PHP app, which functions were executed, for how long. Get the overview along with the breakdown of related database, and network calls.
See detailed overview of all the HTTP Failures that are impacting your users. Find the status codes breakdown and along with PHP request parameters, find the root cause of the API failures.
Avail Atatus features for 14 days free-trial. No credit card required. Instant set-up.