cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetić <otis.gospodne...@gmail.com>
Subject Re: How to print out the metrics information, like compaction and garbage collection?
Date Tue, 14 Jun 2016 19:01:20 GMT
Hi Jun,

Here's a tool for dumping JMX contents: https://github.com/sematext/jmxc
Here's a tool/service for monitoring Cassandra:
https://sematext.com/spm/integrations/cassandra-monitoring/

Otis
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/


On Mon, Jun 13, 2016 at 5:17 PM, Jun Wu <wuxiaomin98@hotmail.com> wrote:

> Hi there,
>
>    I've deployed 6 node in Amazon EC2. I'm trying to monitor some metrics
> for each node and print them out when I write/read data into Cassandra.
> Specifically I want to print out the information about garbage collection
> and compaction.
>
>    I do notice that there's metrics for compaction in o.a.c.metrics.
> CompactionMetrics.java. But I don't know how to get them, I've tried method
> below:
>
>    CompactionMetrics metrics = new CompactionMetrics();
>    System.out.println(metrics.pendingtasks);
>
>    But it doesn't work.
>
>     *************
>   Another/same question is about the garbage collection, any idea on where
> should I refer to and get the information about garbage collection, like
> garbage collection count, collection time, etc.
>
>    Any hint will be appreciated.
>
>     Thanks!
>
> Jun
>

Mime
View raw message