What is Nginx?
Nginx [pronounced "Engine X"] is an HTTP and reverse proxy server that emphasizes high concurrency, performance, and low memory usage. Nginx can also act as a mail proxy server and a generic TCP proxy server. Nginx is available as open source and in a commercial version (Nginx Plus). Nginx is included in the LEMP stack.
As Nginx is a high-speed, lightweight HTTP server engine, more and more web sites and applications are moving to Nginx. According to W3Techs, over 25 percent of all known web servers use Nginx. The performance improvements for serving static content can be significant. Especially at high loads, Nginx is faster than other solutions and consumes less server resources.
Learn more in the Dynatrace APM Blog.
Monitor your Nginx server performance
With Dynatrace you get deep-level visibility into each of your web server process groups, including dependent applications and running services. When problems are detected, the Dynatrace anomaly-detection engine correlates host and network metrics with web-server specific metrics like busy workers, active/dropped connections, and number of requests to identify the root causes.
Dynatrace shows you all relevant information in an interactive infographic. Meta information like application version, executable path, and used ports are included. See availability metrics and events like deployment changes and Nginx restarts.
See Nginx-specific metrics (without plugins!)
Just install Dynatrace OneAgent to see the metrics you need. For Nginx, Dynatrace shows you:
- Response sizes
- Accepted vs. dropped connections
- Active connections
System performance metrics (CPU, memory, and more) are also available.
You get details about network traffic, TCP requests, and connectivity, along with quality metrics like retransmissions, round-trip time, and throughput.
Discover Nginx Plus metrics
Nginx Plus provides additional functionality for monitoring data. With Nginx Plus, Dynatrace shows you:
- Server zones
- Traffic and requests per server zone
- Traffic and requests
- Upstream health
- Cache performance
- Cache usage
Just click the Nginx Plus and Further details tabs on your Nginx Plus processes to see these metrics.
Analyze response-time hotspots down to the module level
With deep process monitoring enabled, Dynatrace analyzes the response time of each Nginx service running within each process. Each service page enables you to analyze response time hotspots so you can see what activities are consuming the most time for each service.
On the Response time analysis page you see the average response time observed during the analyzed time frame. The infographic also shows how much time is contributed by Nginx internals and Nginx modules.
Analyze the response times of your Nginx services.
Auto-detect your application environment!
Dynatrace full stack monitoring extends web server monitoring beyond basic status metrics. With a single agent installed on your server, Dynatrace auto-detects all Nginx web servers in your application architecture. See the full picture of your application topology and identify dependencies between tiers in your application stack.
CPU saturation slowing down your database, your services, and your website? You'll receive a single notification that addresses the root cause of the problem, not multiple alerts that you need to sort through and analyze. Using artificial intelligence, Dynatrace detects performance anomalies before they affect customer experience.
Dynatrace automatically detects and your applications topology and visualizes them in an interactive map.
Visualize Nginx service requests end-to-end
Dynatrace understands your applications’ transactions from end-to-end. Service flow shows the actual execution of each individual service and service-request type. While Smartscape shows you your overall environment topology, service flow provides you with the view point of a single service or service-request type.
The screenshot shows what a web request of an Nginx service triggers in the system and how each component contributes to the overall response time. As you can see, this perspective provides far more detail than Smartscape view. This degree of analysis enables you to understand the bigger complexities within your system.
Dynatrace service flow visualizes Nginx service requests end-to-end.
“Dynatrace’s ease of deployment and it’s auto-detection capabilities reducing the installation effort to almost zero impressed us. You are getting meaningful alerts right away.”