Is there any mbean for cassandra to get the Cross-data center latency metrics.
I have 6 nodes spread across 2 DC 3 node each. I want to monitor the replication between DCs
Sure, you can monitor both overall and DC-specific latencies using the org.apache.cassandra.metrics MBean.
org.apache.cassandra.metrics
Overall internode latency
JMX in MBean org.apache.cassandra.metrics:
type=Messaging,name=CrossNodeLatency
Internode latency for datacenter with name DC-Name
type=Messaging,name=<DC-Name>-Latency
You can find these and other useful metrics on this page in the DataStax documentation: https://docs.datastax.com/en/dseplanning/docs/metricsandalerts.html
To enable org.apache.cassandra.metrics:name=DC-Name-Latency,type=Messaging, you need to add:
cross_node_timeout: true
to your cassandra.yaml and restart.
Copyright © 2021 Jogjafile Inc.
Sure, you can monitor both overall and DC-specific latencies using the
org.apache.cassandra.metrics
MBean.Overall internode latency
JMX in MBean
org.apache.cassandra.metrics
:Internode latency for datacenter with name DC-Name
JMX in MBean
org.apache.cassandra.metrics
:You can find these and other useful metrics on this page in the DataStax documentation: https://docs.datastax.com/en/dseplanning/docs/metricsandalerts.html