[ https://issues.apache.org/jira/browse/ARTEMIS-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750543#comment-17750543 ]
Mike Artz commented on ARTEMIS-4306: ------------------------------------ Just wondering which metrics we are talking about - are some of them unnecessary/too weird to implement. Also am I missing any good ones here * Authentication Metrics: ** authn_success_count: Number of successful authentication attempts. ** authn_failure_count: Number of failed authentication attempts. ** authn_response_time: Average time taken for authentication * Authorization Metrics: ** authz_success_count: Number of successful authorization checks. ** authz_failure_count: Number of failed authorization checks. ** authz_response_time: Average time taken for authorization checks. * Cache Metrics: ** authn_cache_size: Size of the authentication cache. ** authn_cache_hit_count: Number of cache hits for authentication. ** authn_cache_miss_count: Number of cache misses for authentication. ** authn_cache_hit_ratio: Ratio of cache hits to total cache lookups for authentication. ** authz_cache_size: Size of the authorization cache. ** authz_cache_hit_count: Number of cache hits for authorization. ** authz_cache_miss_count: Number of cache misses for authorization. ** authz_cache_hit_ratio: Ratio of cache hits to total cache lookups for authorization. * ?Extra ** auth_cache_invalidated_count: Number of times the authn cache was invalidated. ** authz_cache_invalidated_count: Number of times the authz cache was invalidated. > Add authn/z metrics > ------------------- > > Key: ARTEMIS-4306 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4306 > Project: ActiveMQ Artemis > Issue Type: Improvement > Reporter: Justin Bertram > Priority: Major > > It would be useful to have metrics for authn/z successes and failures as well > as for metrics related to the corresponding caches. -- This message was sent by Atlassian Jira (v8.20.10#820010)