type MatcherMetrics … type NoopMatcherMetrics … func (NoopMatcherMetrics) RecordAuthorizationMatchConditionEvaluation(ctx context.Context, authorizerType, authorizerName string, elapsed time.Duration) { … } func (NoopMatcherMetrics) RecordAuthorizationMatchConditionEvaluationFailure(ctx context.Context, authorizerType, authorizerName string) { … } func (NoopMatcherMetrics) RecordAuthorizationMatchConditionExclusion(ctx context.Context, authorizerType, authorizerName string) { … } type matcherMetrics … func NewMatcherMetrics() MatcherMetrics { … } const namespace … const subsystem … var authorizationMatchConditionEvaluationErrorsTotal … var authorizationMatchConditionExclusionsTotal … var authorizationMatchConditionEvaluationSeconds … var registerMetrics … func RegisterMetrics() { … } func ResetMetricsForTest() { … } func (matcherMetrics) RecordAuthorizationMatchConditionEvaluationFailure(ctx context.Context, authorizerType, authorizerName string) { … } func (matcherMetrics) RecordAuthorizationMatchConditionExclusion(ctx context.Context, authorizerType, authorizerName string) { … } func (matcherMetrics) RecordAuthorizationMatchConditionEvaluation(ctx context.Context, authorizerType, authorizerName string, elapsed time.Duration) { … }