Skip to content

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

License

Notifications You must be signed in to change notification settings

cy-play/nginx-vts-exporter

 
 

Repository files navigation

nginx-vts-exporter

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

Dependency

Compile

go get -v ./...
go build

Run

nohup ./nginx-vts-exporter -nginx.scrape_uri=http://localhost/status/format/json

Dockerize

Build

docker build -t vts-export .

Run

docker run -ti vts-export

Run with args

docker run -ti vts-export -nginx.scrape_uri=http://localhost/status/format/json

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.2%
  • Shell 1.8%