You can buy this project and download/modify it how often you want.
Druid Web Session Stat Web Session Stat View JSON API N SESSIONID Principal CreateTime LastAccessTime RemoteAddress RequestCount RequestTimeMillisTotal RunningCount ConcurrentMax JdbcExecuteCount JdbcExecuteTimeMillis JdbcCommitCount JdbcRollbackCount JdbcFetchRowCount JdbcUpdateCount