MM-53023: Add origin client to ObserveAPIEndpointDuration (#23631)
* Add origin device to ObserveAPIEndpointDuration * Fix generation of einterfaces mocks * make einterfaces-mocks * Use request's query and headers to get origin * Add desktop to the origin device identification * Test originDevice function * Rename origin device to origin client
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1fe2295c70
Коммит
2bc99398f9
@@ -58,7 +58,7 @@ type MetricsInterface interface {
|
||||
IncrementFilesSearchCounter()
|
||||
ObserveFilesSearchDuration(elapsed float64)
|
||||
ObserveStoreMethodDuration(method, success string, elapsed float64)
|
||||
ObserveAPIEndpointDuration(endpoint, method, statusCode string, elapsed float64)
|
||||
ObserveAPIEndpointDuration(endpoint, method, statusCode, originClient string, elapsed float64)
|
||||
IncrementPostIndexCounter()
|
||||
IncrementFileIndexCounter()
|
||||
IncrementUserIndexCounter()
|
||||
|
||||
Ссылка в новой задаче
Block a user