add log line

This commit is contained in:
kiwiidb
2022-03-31 11:45:35 +02:00
parent 07b93fc574
commit 2be263186f

View File

@@ -171,6 +171,8 @@ func main() {
// Setup metrics endpoint at another server // Setup metrics endpoint at another server
prom.SetMetricsPath(echoPrometheus) prom.SetMetricsPath(echoPrometheus)
go func() { go func() {
echoPrometheus.Logger = logger
echoPrometheus.Logger.Infof("Starting prometheus on port %d", svc.Config.PrometheusPort)
echoPrometheus.Logger.Fatal(echoPrometheus.Start(fmt.Sprintf(":%d", svc.Config.PrometheusPort))) echoPrometheus.Logger.Fatal(echoPrometheus.Start(fmt.Sprintf(":%d", svc.Config.PrometheusPort)))
}() }()
} }