MM-27199 - Add metrics to MM server for total enabled user count (#15116)

* Add metrics to MM server for total enabled user count and include installation ID from a new env var

* diagnostics context

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Eli Yukelzon
2020-09-07 16:26:25 +03:00
коммит произвёл GitHub
родитель 2baf95df1e
Коммит f4ccc7061c
14 изменённых файлов: 228 добавлений и 1 удалений

11
jobs/interfaces/active_users_interface.go Обычный файл
Просмотреть файл

@@ -0,0 +1,11 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
package interfaces
import "github.com/mattermost/mattermost-server/v5/model"
type ActiveUsersJobInterface interface {
MakeWorker() model.Worker
MakeScheduler() model.Scheduler
}