Nginx Prometheus Exporter

Nginx Prometheus Exporter is a metrics exporter that exposes NGINX or NGINX Plus traffic, performance, and health data in a Prometheus-compatible format,…

  • Monitoring & Logging
  • Network Services
Nginx Prometheus Exporter is a metrics exporter that exposes NGINX or NGINX Plus traffic, performance, and health data in a Prometheus-compatible format, helping self-hosters monitor and troubleshoot their web server.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

71/100 Good

Maintained
86last commit 4 days ago
Popular
662,026 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
No data
Security check
94no serious findings, CI, tests, OpenSSF Scorecard 8.4/10

Based on 4 of 5 factors.

GitHub stars
2,026
Open issues
14
Last commit
2026-11-17
Latest release
v1.5.3
License
Apache-2.0
Activity
steady

Checked 3 days ago - source: GitHub (nginx/nginx-prometheus-exporter)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Map the web port before starting Start Nginx with a port mapping such as -p 8080:80 so your host can reach the container's web port. Without this, your site and any exporter that needs to reach it stay hidden from browsers and monitoring tools. source
  • Keep config templates in a safe folder Put your Nginx template files in a folder on your machine and connect it to /etc/nginx/templates with -v ./templates:/etc/nginx/templates. This folder is where Nginx builds its configuration, so if it is missing or wrong the server may start with broken settings. source

Fetched 53 days ago - each note links to its source

Alternatives (11)

  • Apache HTTP Server - Open-source HTTP server offering cross-platform support, modular architecture, secure configuration, robust content delivery, and extensive…
  • BunkerWeb - BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
  • Caddy - Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and r…
  • Corvus - Self-hosted reverse proxy and web application firewall with a web console; it provides domain forwarding, free SSL, live traffic monitoring…
  • Haproxy - HAProxy is a TCP proxy and a HTTP reverse proxy.
  • Microsoft IIS - Internet Information Services (IIS) for Windows® Server is a flexible, secure and easy-to-manage Web server for hosting anything on the Web.
  • Træfik Proxy - The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
  • Varnish - Varnish is an open-source HyperText Transfer Protocol (HTTP) accelerator for website operators that serves cached pages from memory in fron…
  • lighttpd - Lighttpd is a secure, lightweight web server that uses memory and CPU more efficiently than comparable servers, with FastCGI, CGI, authenti…
  • nginx - Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.
  • nginx-ui

Checked 40 days ago - source: AlternativeTo

Common questions

How can I install the exporter on Linux?

You can install it with snap using the command sudo snap install nginx-prometheus-exporter.

Which NGINX endpoint provides basic metrics?

Basic NGINX metrics are exposed via the stub_status page, while NGINX Plus provides richer metrics via its API.

Is the Unix socket scrape option documented?

The community thread highlights that documentation for using --nginx.scrape-uri with a Unix socket is missing.

What port mapping should I use for a containerized NGINX that an exporter must reach?

Map the container’s web port to the host, for example -p 8080:80. Without that mapping, the exporter may not be able to reach NGINX.

Answers sourced from community.nginx.org, github.com, github.com, snapcraft.io

Community

Collected 48 days ago - public community threads