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

Nick Couchman commented on GUACAMOLE-1223:
------------------------------------------

My initial thought is that such a dashboard could be created as an extension 
module, and could leverage all of the existing data provided by the APIs in 
order to generate the graphs - that is, I'm not sure you'd actually need to 
track anything different than what is already being tracked today to generate 
these sorts of statistics - at least, not most of them. Assuming you're using 
the JDBC module, historical connection data is already stored within tables in 
the database, including start/stop time of the connection, the user accessing 
the connection, and the connection they used. This should allow you to generate 
things like total number of connections within a certain day, week, month, 
year, or custom timeframe, along with min/max/median/mean sorts of things.

The current active connections can also be obtained, again, assuming you're 
using the JDBC module, so that seems very doable with the current REST 
endpoints.

So, it's really a matter of:
* Finding/using a good JavaScript graphing library.
* Tracking down all of the REST calls that would need to be made (really, just 
calling existing AngularJS functions to retrieve active and historical data).
* Allowing a user to select the stats they want to see and do things like 
adjust date range.
* Doing the math to compute the values and graphing them.
* Finding a good place in the UI to stick it (I'm thinking either Home screen 
or Settings page).

Overall I like the idea as an install-able extension module, and think it's 
probably reasonable straight-forward to accomplish.

> add stats to Guacamole
> ----------------------
>
>                 Key: GUACAMOLE-1223
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1223
>             Project: Guacamole
>          Issue Type: New Feature
>            Reporter: Jason Keltz
>            Priority: Minor
>
> I would love to see some kind of basic "stats" in Guacamole.  To give you an 
> idea what I'm looking for:
>  * how many connections are in use right now (without me scrolling through 
> all the active screens and counting them manually)?
>  * how many connections today total?
>  * what is the maximum number of simultaneous connections today?
>  * maximum number of connections this week, this month, this year?
>  * maybe even being able to look at the number of connections per hour?
>  * or maybe even drilling right down to a particular host and seeing how 
> often that host is being used? and for how long?
> I'm sure there are other stats that could be included as well.
> It would be nice if you could configure how long they stay around as well. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to