about summary refs log tree commit diff
path: root/bskyweb/cmd/embedr/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'bskyweb/cmd/embedr/main.go')
-rw-r--r--bskyweb/cmd/embedr/main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/bskyweb/cmd/embedr/main.go b/bskyweb/cmd/embedr/main.go
index 9f75ed69a..4a6be142b 100644
--- a/bskyweb/cmd/embedr/main.go
+++ b/bskyweb/cmd/embedr/main.go
@@ -46,6 +46,13 @@ func run(args []string) {
 					Value:    ":8100",
 					EnvVars:  []string{"HTTP_ADDRESS"},
 				},
+				&cli.StringFlag{
+					Name:     "metrics-address",
+					Usage:    "Specify the local IP/port to bind the metrics server to",
+					Required: false,
+					Value:    ":9090",
+					EnvVars:  []string{"METRICS_HTTP_ADDRESS"},
+				},
 				&cli.BoolFlag{
 					Name:     "debug",
 					Usage:    "Enable debug mode",