The best way to implement NGINX Amplify tool for comprehensive NGINX monitoring

NGINX Amplify is a tool for comprehensive NGINX monitoring. With NGINX Amplify it’s easy to proactively analyze and fix problems related to running and scaling NGINX-based web applications.

We can use NGINX Amplify to do the following:

Visualize and identify NGINX performance bottlenecks, overloaded servers, or potential DDoS attacks

Improve and optimize NGINX performance with intelligent advice and recommendations

Get notified when something is wrong with the application infrastructure

Plan web application capacity and performance

Keep track of the systems running NGINX

How to get Metadata and Metrics Collection?

NGINX Amplify Agent collects the following types of data:

NGINX metrics. The agent collects a lot of NGINX related metrics from stub_status, the NGINX Plus status API, the NGINX log files, and from the NGINX process state.

  • System metrics. These are various key metrics describing the system, e.g. CPU usage, memory usage, network traffic, etc.

  • PHP-FPM metrics. The agent can obtain metrics from the PHP-FPM pool status, if it detects a running PHP-FPM master process.

  • MySQL metrics. The agent can obtain metrics from the MySQL global status set of variables.

  • NGINX metadata. This is what describes your NGINX instances, and it includes package data, build information, the path to the binary, build configuration options, etc. NGINX metadata also includes the NGINX configuration elements.

  • System metadata. This is the basic information about the OS environment where the agent runs. This could be the hostname, uptime, OS flavor, and other data.