Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

7/10/2021

Reading time:N/A min

sarma1807/Prometheus-Grafana-Cassandra

by sarma1807

EnvironmentFollowing servers are running with CentOS Linux release 7.8.2003 (Core) :192.168.1.151 eternal1 eternal1.OracleByExample.com192.168.1.152 eternal2 eternal2.OracleByExample.com192.168.1.153 eternal3 eternal3.OracleByExample.com192.168.1.191 PromGraf PromGraf.OracleByExample.comApache Cassandra3 node Cassandra cluster cluster_name: 'id_cluster' version : Apache Cassandra 4.0-beta4 running on following servers :192.168.1.151 eternal1 eternal1.OracleByExample.com192.168.1.152 eternal2 eternal2.OracleByExample.com192.168.1.153 eternal3 eternal3.OracleByExample.comWe will configure Cassandra's built in metrics-reporter to extract and publish metrics to Prometheus. We will also configure Prometheus node_exporter on each of our Cassandra nodes to extract and publish metrics to Prometheus.Prometheus & GrafanaWe will configure and run Prometheus & Grafana on following server :192.168.1.191 PromGraf PromGraf.OracleByExample.comPrometheus will gather and organize all collected metrics into its internal time-series database. Grafana will consume the metrics from Prometheus and display them in a nice dashboard. Prometheus AlertmanagerIn future, we should implement Alertmanager

Illustration Image

CassPromGraf_00_Arch.jpg

Environment

Following servers are running with CentOS Linux release 7.8.2003 (Core) :
192.168.1.151      eternal1      eternal1.OracleByExample.com
192.168.1.152      eternal2      eternal2.OracleByExample.com
192.168.1.153      eternal3      eternal3.OracleByExample.com
192.168.1.191      PromGraf      PromGraf.OracleByExample.com

Apache Cassandra

3 node Cassandra cluster cluster_name: 'id_cluster' version : Apache Cassandra 4.0-beta4 running on following servers :

192.168.1.151      eternal1      eternal1.OracleByExample.com
192.168.1.152      eternal2      eternal2.OracleByExample.com
192.168.1.153      eternal3      eternal3.OracleByExample.com

We will configure Cassandra's built in metrics-reporter to extract and publish metrics to Prometheus.
We will also configure Prometheus node_exporter on each of our Cassandra nodes to extract and publish metrics to Prometheus.

Prometheus & Grafana

We will configure and run Prometheus & Grafana on following server :

192.168.1.191      PromGraf      PromGraf.OracleByExample.com

Prometheus will gather and organize all collected metrics into its internal time-series database.
Grafana will consume the metrics from Prometheus and display them in a nice dashboard.

Prometheus Alertmanager

In future, we should implement Alertmanager

Related Articles

kubernetes
datastax
cassandra

DataStax Mission Control :: DataStax Project Mission Control

John Doe

4/15/2023

cassandra
grafana

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

cassandra