Cassandra Monitoring Integration

Apache Cassandra is an open source distributed NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients. Cassandra originated at Facebook as a project based on Amazon’s Dynamo and Google’s BigTable, and has since matured into a widely adopted open source system.  Cassandra monitoring is available through the Telegraf plugin.

Telegraf Input Plugin: Cassandra

Collect and track all metrics from each of your Cassandra monitoring servers. Some typical metrics to collect to keep your Cassandra cluster performant and running include but are not limited to:

  • Throughput: read and writes
  • Latency: read and writes
  • Disk usage: disk space on each node
  • Garbage collection frequency and duration
  • Errors: in particular, failed requests due to unavailability of nodes in the cluster

Cassandra Basics

Apache Cassandra is a free and open source distributed NoSQL database management system designed to handle large amounts of data across many commodity servers. Cassandra is known for its scalability and fault-tolerance.

Understanding the performance characteristics of a Cassandra cluster is critical to diagnosing issues and planning capacity.

Cassandra exposes a number of statistics and management operations via Java Management Extensions (JMX). Any statistic or operation that a Java application has exposed as an MBean can then be monitored or manipulated using JMX.

The Cassandra Telegraf plugin collects Cassandra 3 / JVM metrics exposed as MBean’s attributes through jolokia REST endpoint. All metrics are collected for each server configured.

During normal operation, Cassandra outputs information and statistics that you can monitor using JMX-compliant tools, such as:

  • The Cassandra nodetool utility
  • JConsole

Using the same tools, you can perform certain administrative commands and operations such as flushing caches or doing a node repair.

Comparing InfluxDB and Cassandra for Time Series Data Management

Download the tech paper and watch the webinar as we compare the performance and features of InfluxDB and Cassandra for common time series workloads, specifically looking at rates of data ingestion, on-disk data compression, and query performance.

Contact Sales