[ 
https://issues.apache.org/jira/browse/ARTEMIS-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750543#comment-17750543
 ] 

Mike Artz edited comment on ARTEMIS-4306 at 8/3/23 4:03 PM:
------------------------------------------------------------

Just wondering which metrics we are talking about - these are what I have so 
far. 

{*}EDIT{*}: Took out the response time metrics and took out the ratio
 * Authentication Metrics:
 ** authn_success_count: Number of successful authentication attempts.
 ** authn_failure_count: Number of failed authentication attempts.

 
 * Authorization Metrics: 
 ** authz_success_count: Number of successful authorization checks. 
 ** authz_failure_count: Number of failed 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.
 ** 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. 

 
 * ?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.


was (Author: JIRAUSER301522):
Just wondering which metrics we are talking about - these are what I have so 
far. 

{*}EDIT{*}: Took out the response time metrics 
 * Authentication Metrics:
 ** authn_success_count: Number of successful authentication attempts.
 ** authn_failure_count: Number of failed authentication attempts.

 
 * Authorization Metrics: 
 ** authz_success_count: Number of successful authorization checks. 
 ** authz_failure_count: Number of failed 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)

Reply via email to