Sign inSign up

nikosch86/nginx_exporter

By nikosch86

Updated over 5 years ago

fork of fish's nginx-exporter to keep me up and running (it is broken for a month now)

Image
0

746

nikosch86/nginx_exporter repository overview

Nginx Exporter for Prometheus

This Prometheus Exporter retrieves nginx stats and exports them via HTTP for Prometheus consumption.

To run it:

./nginx_exporter [flags]

Help on flags:

./nginx_exporter --help

Using Docker

docker pull fish/nginx-exporter

docker run -d -p 9113:9113 fish/nginx-exporter \
    -nginx.scrape_uri=http://172.17.42.1/nginx_status

In production you should use a tagged release: https://hub.docker.com/r/fish/nginx-exporter/tags/

Alternatives

While nginx natively only provides the small set of metrics this exporter provides, nginx-module-vts adds extensive metrics that can be consumed by:

Tag summary

Content type

Image

Digest

Size

6.5 MB

Last updated

over 5 years ago

docker pull nikosch86/nginx_exporter