Skip to content

Commit

Permalink
params
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Apr 17, 2021
1 parent 8ab16a3 commit 8795c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ install:

# run statsd proxy in http mode
run-http:
GOMAXPROCS=1 go run main.go --verbose --http-host=127.0.0.1 --http-port=8080 --statsd-host=127.0.0.1 --statsd-port=8125 --jwt-secret=somesecret --metric-prefix=prefix.subprefix
GOMAXPROCS=1 go run main.go --verbose --http-host=127.0.0.1 --http-port=8080 --statsd-host=127.0.0.1 --statsd-port=8125 --metric-prefix=prefix.subprefix --jwt-secret=somesecret

# run statsd proxy in http mode with profiling
run-http-prof:
GOMAXPROCS=1 go run main.go --verbose --http-host=127.0.0.1 --http-port=8080 --statsd-host=127.0.0.1 --statsd-port=8125 --jwt-secret=somesecret --metric-prefix=prefix.subprefix -profiler-http-port=6060
GOMAXPROCS=1 go run main.go --verbose --http-host=127.0.0.1 --http-port=8080 --statsd-host=127.0.0.1 --statsd-port=8125 --metric-prefix=prefix.subprefix --jwt-secret=somesecret -profiler-http-port=6060

# run statsd mock that listen UPD port (for monitoring that proxy sends metrics to UPD)
run-statsd-mock:
Expand Down

0 comments on commit 8795c1a

Please sign in to comment.