From ea226da2754d70b50ef9bfa88daaf3dee77fc8fd Mon Sep 17 00:00:00 2001 From: Austin McKinley Date: Tue, 29 Jul 2025 17:36:58 -0700 Subject: add metrics to embedr service --- bskyweb/cmd/embedr/main.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bskyweb/cmd/embedr/main.go') 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", -- cgit 1.4.1