Jump to content

Cassandra/Tools/cassandra-metrics-collector

From Wikitech
This project is no longer in use, and is unmaintained (see: T332961)

Discovers running instances of Cassandra on the local machine, collects performance metrics (via JMX), and writes them to a remote Carbon server in a format compatible with the Dropwizard metrics GraphiteReporter.

Project

Usage

$ java -jar target/cassandra-metrics-collector-<version>-jar-with-dependencies.jar --help

NAME
        cmcd - cassandra-metrics-collector daemon

SYNOPSIS
        cmcd [ {-di | --discovery-interval} <INTERVAL> ]
                [ {-f | --filter-config} <YAML> ] [ {-h | --help} ]
                [ {-H | --carbon-host | --graphite-host} <HOSTNAME> ]
                [ {-i | --interval} <INTERVAL> ]
                [ {-p | --carbon-port | --graphite-port} <PORT> ]

OPTIONS
        -di <INTERVAL>, --discovery-interval <INTERVAL>
            Interval (in seconds) to perform (re)discovery (default: 300
            seconds)

        -f <YAML>, --filter-config <YAML>
            Metric filter configuration

        -h, --help
            Display help information

        -H <HOSTNAME>, --carbon-host <HOSTNAME>, --graphite-host <HOSTNAME>
            Carbon hostname (default: localhost)

        -i <INTERVAL>, --interval <INTERVAL>
            Collection interval in seconds (default: 60 seconds)

        -p <PORT>, --carbon-port <PORT>, --graphite-port <PORT>
            Carbon port number (default: 2003)