We want to calculate how many records are written/read to our cassandra cluster on per sec or day basis without Opscenter.

有帮助吗?

解决方案

Opscenter is just reading the standard JMX presented by C* so you could do the same thing. The mbeans you are most likely interested in are

org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=Latency : Count
org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Latency : Count

Grab these from all the nodes and you have your read and write counts.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top