jobserver: enable prometheus metrics when running standalone jobserver (#18636)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e95e0e95a8
Коммит
88563a3de3
@@ -44,6 +44,7 @@ func initDBCommandContext(configDSN string, readOnlyConfigStore bool) (*app.App,
|
|||||||
s, err := app.NewServer(
|
s, err := app.NewServer(
|
||||||
app.Config(configDSN, readOnlyConfigStore, nil),
|
app.Config(configDSN, readOnlyConfigStore, nil),
|
||||||
app.StartSearchEngine,
|
app.StartSearchEngine,
|
||||||
|
app.StartMetrics,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user