Skip to content

Commit

Permalink
Merge pull request #30 from dabealu/change-default-listen-port
Browse files Browse the repository at this point in the history
change default listen port to 9141
  • Loading branch information
dabealu authored May 22, 2020
2 parents 6dfc819 + 84f987f commit 5412042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To build image with different name, pass it to `build.sh` as a first arg.
```
Usage of zookeeper-exporter:
-listen string
address to listen on (default "0.0.0.0:8080")
address to listen on (default "0.0.0.0:9141")
-location string
metrics location (default "/metrics")
-timeout int
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

func main() {
location := flag.String("location", "/metrics", "metrics location")
listen := flag.String("listen", "0.0.0.0:8080", "address to listen on")
listen := flag.String("listen", "0.0.0.0:9141", "address to listen on")
timeout := flag.Int64("timeout", 30, "timeout for connection to zk servers, in seconds")
host := flag.String("zk-host", "127.0.0.1", "zookeeper host")
port := flag.String("zk-port", "2181", "zookeeper port")
Expand Down

0 comments on commit 5412042

Please sign in to comment.