From 88563a3de34aa11325b406cd97a6845023b53532 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Tue, 12 Oct 2021 14:32:23 +0200 Subject: [PATCH] jobserver: enable prometheus metrics when running standalone jobserver (#18636) Co-authored-by: Mattermod --- cmd/mattermost/commands/init.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/mattermost/commands/init.go b/cmd/mattermost/commands/init.go index 3a53514561..b254f2d8b2 100644 --- a/cmd/mattermost/commands/init.go +++ b/cmd/mattermost/commands/init.go @@ -44,6 +44,7 @@ func initDBCommandContext(configDSN string, readOnlyConfigStore bool) (*app.App, s, err := app.NewServer( app.Config(configDSN, readOnlyConfigStore, nil), app.StartSearchEngine, + app.StartMetrics, ) if err != nil { return nil, err