Add a Metrics Server to bskyweb (#10863)

This commit is contained in:
Jim Calabro
2026-06-11 08:52:12 -04:00
committed by GitHub
parent 0187a49534
commit 5c04a41a11
2 changed files with 59 additions and 6 deletions
+7
View File
@@ -59,6 +59,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.StringFlag{
Name: "link-host",
Usage: "scheme, hostname, and port of link service",