Modifies the interface to add search index metrics and initialises metrics first so it can be used from elasticsearch (#13663)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
71ceb7f18f
Коммит
eb17f8436f
@@ -45,4 +45,7 @@ type MetricsInterface interface {
|
||||
ObservePostsSearchDuration(elapsed float64)
|
||||
ObserveStoreMethodDuration(method string, success string, elapsed float64)
|
||||
ObserveApiEndpointDuration(endpoint string, elapsed float64)
|
||||
IncrementPostIndexCounter()
|
||||
IncrementUserIndexCounter()
|
||||
IncrementChannelIndexCounter()
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user