Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Cassandra performance stats dashboard for Grafana #220

Open
genghisken opened this issue Dec 10, 2024 · 1 comment
Open

Make Cassandra performance stats dashboard for Grafana #220

genghisken opened this issue Dec 10, 2024 · 1 comment
Assignees

Comments

@genghisken
Copy link
Collaborator

There is little understanding of the performance bottlenecks in Cassandra. We need a Grafana dashboard that could potentially identify performance issues.

@genghisken genghisken self-assigned this Dec 10, 2024
@genghisken
Copy link
Collaborator Author

I've added the following to each Cassandra node:

/etc/cassandra/prometheus/prometheus_cassandra.yml
/etc/cassandra/prometheus/jmx_prometheus_javaagent-1.0.1.jar

The JAR file was downloaded from here:
https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/1.0.1/jmx_prometheus_javaagent-1.0.1.jar

The /etc/cassandra/cassandra-env.sh file needs to be modified with the following line:

JVM_OPTS="$JVM_OPTS -javaagent:/etc/cassandra/prometheus/jmx_prometheus_javaagent-1.0.1.jar=7070:/etc/cassandra/prometheus/prometheus_cassandra.yml"

Now added to my deployment scripts so new Cassandra clusters will have the prometheus agent installed by default.

There is an extensive list of stats available. I think there are example Grafana dashboard templates we can download that will show us the best way to view the stats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant