Slide 5 of 9

Apache Cassandra integration

Apache Cassandra integration

Apache Cassandra is an open source NoSQL distributed database designed for high availability and horizontal scalability. The Cassandra integration monitors cluster health, read/write latencies, compaction, and JVM performance.

What it monitorsRead/write latencies, compaction tasks, JVM garbage collection, cluster node status, keyspace metrics
How it worksJMX Exporter exposes Cassandra metrics; Grafana Alloy scrapes them and forwards to Grafana Cloud
What you get8 alerts + 4 dashboards (Overview, Nodes, Keyspaces, Logs)
PrerequisitesJMX Exporter deployed on each Cassandra node

What you’ll see in the dashboards

  • Overview: Cluster-wide node count (up/down), read/write latency trends, pending compaction tasks, and CPU/memory usage
  • Nodes: Per-node performance: latencies, garbage collection, and resource consumption
  • Keyspaces: Pending compactions, repair job tracking, and disk space usage
  • Logs: Cassandra system logs collected alongside the metrics

Key alerts

AlertSeverity
HighReadLatency / HighWriteLatencyCritical
BlockedCompactionTasksFoundCritical
HighPendingCompactionTasksWarning
UnavailableWriteRequestsFoundCritical
HintsStoredOnNodeWarning
HighCpuUsage / HighMemoryUsageCritical

Documentation

View the Apache Cassandra integration documentation.

Path completed

Script

The Apache Cassandra integration monitors cluster health, read and write latencies, compaction tasks, and JVM performance across 4 dashboards with 8 alerts.

The dashboards are organized by scope. The Overview shows cluster-wide metrics like node count, latency trends, and pending compactions. The Nodes dashboard drills into per-node performance. The Keyspaces dashboard tracks repair jobs and disk usage. A Logs dashboard collects Cassandra system logs alongside the metrics.

Cassandra setup is slightly more involved than other integrations because it requires deploying the JMX Exporter on each Cassandra node. Alloy then scrapes the metrics exposed by JMX. The tradeoff is that JVM metrics add cardinality, but the visibility into compaction, garbage collection, and repair health is worth it for production clusters.

If Apache Cassandra is your database, the documentation link below takes you to the full setup guide.