Add prometheous metrics for each api handler (#12254)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
05fae599b8
Коммит
e236eb74fa
@@ -44,4 +44,5 @@ type MetricsInterface interface {
|
||||
IncrementPostsSearchCounter()
|
||||
ObservePostsSearchDuration(elapsed float64)
|
||||
ObserveStoreMethodDuration(method string, success string, elapsed float64)
|
||||
ObserveApiEndpointDuration(endpoint string, elapsed float64)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user