All dashboards

Nginx VTS/STS Performance Metrics

Performance metrics for Nginx by Very Good Security

1. Nginx has to be compiled with these 4 plugins

nginx -V
# other stuff
--with-http_stub_status_module
--add-module=/usr/src/nginx-module-vts
--add-module=/usr/src/nginx-module-sts
--add-module=/usr/src/nginx-module-stream-sts

these modules can be found here:

2. Nginx config should looks similar to this:

server {
    listen 127.0.0.1:80;
    server_name 127.0.0.1;
    allow 127.0.0.1;
    deny all;

    # default nginx's metrics
    location /nginx_status {
        stub_status;
    }

    location /http_traffic_status {
        vhost_traffic_status_bypass_limit on;
        vhost_traffic_status_bypass_stats on;
        vhost_traffic_status_display;
        vhost_traffic_status_display_format html;
    }

    location /stream_traffic_status {
        stream_server_traffic_status_display;
        stream_server_traffic_status_display_format html;
    }
}
Revisions
RevisionDescriptionCreated
NGINX

NGINX

by Grafana Labs
Grafana Labs solution

Easily monitor NGINX, an open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more, with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies