> > For the metrics > "org.apache.cassandra.metrics:name=[DC]-Latency,type=Messaging" which is > the unit of the metrics? >
They're in milliseconds:
timer.update(timeTaken, TimeUnit.MILLISECONDS);
crossNodeLatency.update(timeTaken, TimeUnit.MILLISECONDS);
See
https://github.com/apache/cassandra/blob/cassandra-3.11.8/src/java/org/apache/cassandra/metrics/MessagingMetrics.java#L48-L58
for details. Cheers!
