[MM-63661] add access control metrics (#30680)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
509b8e9af7
Коммит
d452f4f043
@@ -73,6 +73,11 @@ func (_m *MetricsInterface) GetLoggerMetricsCollector() logr.MetricsCollector {
|
||||
return r0
|
||||
}
|
||||
|
||||
// IncrementAccessControlCacheInvalidation provides a mock function with given fields:
|
||||
func (_m *MetricsInterface) IncrementAccessControlCacheInvalidation() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementChannelIndexCounter provides a mock function with given fields:
|
||||
func (_m *MetricsInterface) IncrementChannelIndexCounter() {
|
||||
_m.Called()
|
||||
@@ -303,6 +308,21 @@ func (_m *MetricsInterface) ObserveAPIEndpointDuration(endpoint string, method s
|
||||
_m.Called(endpoint, method, statusCode, originClient, pageLoadContext, elapsed)
|
||||
}
|
||||
|
||||
// ObserveAccessControlEngineInitDuration provides a mock function with given fields: value
|
||||
func (_m *MetricsInterface) ObserveAccessControlEngineInitDuration(value float64) {
|
||||
_m.Called(value)
|
||||
}
|
||||
|
||||
// ObserveAccessControlEvaluateDuration provides a mock function with given fields: value
|
||||
func (_m *MetricsInterface) ObserveAccessControlEvaluateDuration(value float64) {
|
||||
_m.Called(value)
|
||||
}
|
||||
|
||||
// ObserveAccessControlExpressionCompileDuration provides a mock function with given fields: value
|
||||
func (_m *MetricsInterface) ObserveAccessControlExpressionCompileDuration(value float64) {
|
||||
_m.Called(value)
|
||||
}
|
||||
|
||||
// ObserveClientChannelSwitchDuration provides a mock function with given fields: platform, agent, fresh, userID, elapsed
|
||||
func (_m *MetricsInterface) ObserveClientChannelSwitchDuration(platform string, agent string, fresh string, userID string, elapsed float64) {
|
||||
_m.Called(platform, agent, fresh, userID, elapsed)
|
||||
|
||||
Ссылка в новой задаче
Block a user