MM-21922: Add metrics for http verb (#13679)
* MM-21922: Add metrics for http verb * Use multiple params Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
815e6b5956
Коммит
11d15107b0
@@ -43,8 +43,8 @@ type MetricsInterface interface {
|
||||
|
||||
IncrementPostsSearchCounter()
|
||||
ObservePostsSearchDuration(elapsed float64)
|
||||
ObserveStoreMethodDuration(method string, success string, elapsed float64)
|
||||
ObserveApiEndpointDuration(endpoint string, elapsed float64)
|
||||
ObserveStoreMethodDuration(method, success string, elapsed float64)
|
||||
ObserveApiEndpointDuration(endpoint, method string, elapsed float64)
|
||||
IncrementPostIndexCounter()
|
||||
IncrementUserIndexCounter()
|
||||
IncrementChannelIndexCounter()
|
||||
|
||||
Ссылка в новой задаче
Block a user