Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 560 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 560 Bytes

nsq-prometheus-exporter

BUILD

go build -o nsq-prometheus-exporter main.go

DOCKER

  • docker build & docker run
docker build -t nsq-prometheus-exporter .
docker run -p 9527:9527  nsq-prometheus-exporter -nsq.lookupd.address=192.168.31.1:4161,192.168.31.2:4161
  • use an official image
docker run -p 9527:9527  whoisyourdady/nsq-prometheus-exporter:latest -nsq.lookupd.address=192.168.31.1:4161,192.168.31.2:4161

RUN

./nsq-prometheus-exporter -nsq.lookupd.address=192.168.31.1:4161,192.168.31.2:4161