diff options
author | Austin McKinley <austin@blueskyweb.xyz> | 2025-07-29 17:36:58 -0700 |
---|---|---|
committer | Austin McKinley <austin@blueskyweb.xyz> | 2025-07-29 17:36:58 -0700 |
commit | ea226da2754d70b50ef9bfa88daaf3dee77fc8fd (patch) | |
tree | be8623c8c5a4f05f40982c0c990f8fefc561d6b6 /bskyweb/cmd/embedr/main.go | |
parent | 332dbc1bb4632e9fd1ffed6ea8566b8df8984f64 (diff) | |
download | voidsky-ea226da2754d70b50ef9bfa88daaf3dee77fc8fd.tar.zst |
add metrics to embedr service
Diffstat (limited to 'bskyweb/cmd/embedr/main.go')
-rw-r--r-- | bskyweb/cmd/embedr/main.go | 7 |
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", |