You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/08/27 14:30:00 UTC

[jira] [Created] (JAMES-2131) Reporting Cassandra java driver metrics in Grafana

Tellier Benoit created JAMES-2131:
-------------------------------------

             Summary: Reporting Cassandra java driver metrics in Grafana
                 Key: JAMES-2131
                 URL: https://issues.apache.org/jira/browse/JAMES-2131
             Project: James Server
          Issue Type: Improvement
          Components: cassandra
            Reporter: Tellier Benoit


While reading some blog posts regarding the Cassandra Java driver I came to realise it also uses the metrics framework.

Integrating it in James would allow to report:
 - Cassandra request execution time
 - Cassandra request execution rate
 - Cassandra request execution count
 - Various queu size

This would allow a finer management of James, winner diagnostic, and a better knowledge of our application. A Grafana dashboard for this is a must have!

We can use : 

{code:java}
metricRegistry.registerAll(
   session.getCluster().getMetrics().getRegistry())
{code}

Which can be done in a dedicated Guice module.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org