[
https://issues.apache.org/jira/browse/WICKET-6128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206305#comment-15206305
]
Tobias Soloschenko commented on WICKET-6128:
--------------------------------------------
Hey Martin,
I have a question to that:
It is a bit hard to create an interval and check the sessions which are alive -
I would suggest to wrap an aspect around Application.get().getRequestLogger()
and invoke getLiveSessions() in the aspect and count the array each time a
request is performed. So the measurement how many sessions are alive would be
updated on each request. Would this be ok? Or do you see another way?
> Add metrics for currently active sessions
> -----------------------------------------
>
> Key: WICKET-6128
> URL: https://issues.apache.org/jira/browse/WICKET-6128
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-metrics
> Affects Versions: 7.3.0
> Reporter: Martin Grigorov
> Assignee: Tobias Soloschenko
> Priority: Minor
>
> Add metric for the number of currently active Wicket sessions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)