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

Mike Artz commented on ARTEMIS-4306:
------------------------------------

Ah I was doing something kind of similar but I didn't do it fast enough. At 
first I was trying avoid changing the `SecurityStore` interface and avoid doing 
something implementation specific (like casting to the `SecurityStoreImpl`) in 
the `MetricsManager` because I thought you wouldn't have wanted to do that. But 
then I had to create a whole new class `SecurityMetricsManager` but it allowed 
me to keep the `CaffeineStatsCounter` and later on I could use 
`CaffeineStatsCounter.registerSizeMetric()` in the `MetricsManager`. 

> 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
>             Fix For: 2.34.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> It would be useful to have metrics for authn/z successes and failures as well 
> as for metrics related to the corresponding caches.
> See this discussion on the users mailing list for more details: 
> https://lists.apache.org/thread/g6ygyo4kb3xhygq8hpw7vsl3l2g5qt92



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to