Try the fastest and simplest way to install ONLYOFFICE

Statistics enhancements.

Suggestions on Community Server Installation/Functionality

Statistics enhancements.

Postby rudais » Thu Oct 12, 2017 4:55 am

Hello,

Are there any plans on upgrading statistics for server? At the moment it only shows us Usage graphs with hits, which honestly does not tell us much as administrators.

Two more graphs would be needed I think:
* Logged in portal users
* Active document server sessions so that we may keep an eye on how much connections from our license limitations are active.

Second would be more to keep an track on if license upgrades are needed or will be needed in the future.
rudais
 
Posts: 10
Joined: Mon Oct 02, 2017 11:14 am

Re: Statistics enhancements.

Postby Maxim » Tue Oct 17, 2017 5:40 am

Hello rudais!
Thank you for your feedback!
I have redirected your feedback to our developers.
Maxim
 
Posts: 1229
Joined: Tue Oct 11, 2016 2:34 pm

Re: Statistics enhancements.

Postby dsi-lille » Tue Oct 17, 2017 7:49 am

Hello rudais,

here we use piwik (https://piwik.org/) to keep track of the users connected to the community server.
There is a js script (generate by piwik) to add on each community server page.
Just copy the script in /var/www/onlyoffice/WebStudio/js/third-party/
and add this line to web.appsettings.config :
<add key="web.custom-scripts" value="/js/third-party/piwik.js" />

About the Document Server, you can send statistic to a graphite server (https://graphiteapp.org/).
You can do that by modifying the config.js from the metrics modules (/var/www/onlyoffice/documentserver/server/Metrics/config/config.js)
Here an example :
{
port: 8125
, graphite: { legacyNamespace: false, globalPrefix: "escola" }
, graphiteHost: "your_graphite_server_host"
, graphitePort: 2003
, flushInterval: 60000
, backends: [ "./backends/graphite" ]
}

escola.gauges.ds.expireDoc.connections.edit : show the number of users editing a document on the document server
escola.gauges.ds.expireDoc.connections.view : show the number of users viewing a document on the document server

After that, if you want better graph, you can use Grafana (https://grafana.com/) with graphite (http://docs.grafana.org/features/datasources/graphite/).

the result :

graph.jpg
graph.jpg (53.09 KiB) Viewed 185 times


hope this helps :)
Yoann.
dsi-lille
 
Posts: 150
Joined: Mon Jul 11, 2016 1:47 pm

Re: Statistics enhancements.

Postby rudais » Tue Oct 17, 2017 2:16 pm

@ Maxim

Thanks for follow up.

@ dsi-lille

Thank's for info. I will look into setting this up to monitor our server. :)
rudais
 
Posts: 10
Joined: Mon Oct 02, 2017 11:14 am


Return to Community Server

Who is online

Users browsing this forum: No registered users and 1 guest