Sorry, clicked send too soon.
I am trying to use Prometheus and followed this tutorial -
https://www.robustperception.io/monitoring-cassandra-with-prometheus
I thought I’ll test it on my Windows laptop first but I can’t connect with
using localhost:7199.
As I am on Windows, instead of echo 'JVM_OPTS="$JVM_OPTS
-javaagent:'$PWD/jmx_prometheus_javaagent-0.3.0.jar=7070:$PWD/cassandra.yml'"'
>> conf/cassandra-env.sh, I have added the following line in the
cassandra-env.ps1 (I don’t know to be honest if I should have)
# Default JMX setup, bound to local loopback address only
$env:JVM_OPTS="$env:JVM_OPTS -Dcassandra.jmx.local.port=$JMX_PORT"
$env:JVM_OPTS="$env:JVM_OPTS
-javaagent:'$PWD/jmx_prometheus_javaagent-0.3.0.jar=7070:$PWD/cassandra.yml'"'
<-- HERE
$env:JVM_OPTS="$env:JVM_OPTS $env:JVM_EXTRA_OPTS"
}
but http://localhost:7070/metrics doesn't work
I have also tried to do the original change in cassandar.yaml i.e.
JVM_OPTS="$JVM_OPTS
-javaagent:'$PWD/jmx_prometheus_javaagent-0.3.0.jar=7070:$PWD/cassandra.yml
But I still can’t access the metrics.
Any help or other suggestions about monitoring would be welcome.
Thanks
Manu
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Manu Chadha<mailto:[email protected]>
Sent: 18 December 2020 08:57
To: [email protected]<mailto:[email protected]>
Subject: Cassandra monitoring
Hi
Could the group please suggest options for monitoring Cassandra in production
(GCP)?
I am trying to use Prometheus and followed this tutorial -
https://www.robustperception.io/monitoring-cassandra-with-prometheus
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10