discordianfish / nginx_exporter

Simple server that scrapes nginx stats and exports them via HTTP for Prometheus consumption
MIT License
160 stars 76 forks source link

namespace is parameterized #22

Closed nipuntalukdar closed 7 years ago

nipuntalukdar commented 7 years ago

Namespace can be passed as command line parameter now, so that we can collect and distinguish metrics from different Nginx servers.

discordianfish commented 7 years ago

You should use labels to distiniguish between different nginx servers.