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: [email protected]
For additional commands, e-mail: [email protected]