vedarthk / nginx_exporter

Simple server that scrapes nginx stats and exports them via HTTP for Prometheus consumption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nginx Exporter for Prometheus

This is a simple server that periodically scrapes nginx stats and exports them via HTTP for Prometheus consumption.

To run it:

./nginx_exporter [flags]

Help on flags:

./nginx_exporter --help

Getting Started

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

About

Simple server that scrapes nginx stats and exports them via HTTP for Prometheus consumption

License:MIT License


Languages

Language:Go 100.0%