add metrics to embedr service

This commit is contained in:
Austin McKinley
2025-07-29 17:36:58 -07:00
parent 332dbc1bb4
commit ea226da275
2 changed files with 43 additions and 9 deletions
+7
View File
@@ -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",