[MM-23882] Include database server version in telemetry (#14258)
* Add database server version to telemetry Also added a new query in the store to retrieve the database version * Add test for the GetDbVersion function * More drivers in the tests Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f6f025aeaa
Коммит
698b4b6934
@@ -45,6 +45,7 @@ type SqlStore interface {
|
||||
GetMaster() *gorp.DbMap
|
||||
GetSearchReplica() *gorp.DbMap
|
||||
GetReplica() *gorp.DbMap
|
||||
GetDbVersion() (string, error)
|
||||
TotalMasterDbConnections() int
|
||||
TotalReadDbConnections() int
|
||||
TotalSearchDbConnections() int
|
||||
|
||||
Ссылка в новой задаче
Block a user