Skip to content

caozhipan/nsq-prometheus-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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