You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dmitry Konstantinov (Jira)" <ji...@apache.org> on 2025/04/10 14:18:00 UTC
[jira] [Created] (CASSANDRA-20547) Report Cassandra server pauses as metrics using jHiccup-like logic
Dmitry Konstantinov created CASSANDRA-20547:
-----------------------------------------------
Summary: Report Cassandra server pauses as metrics using jHiccup-like logic
Key: CASSANDRA-20547
URL: https://issues.apache.org/jira/browse/CASSANDRA-20547
Project: Apache Cassandra
Issue Type: New Feature
Reporter: Dmitry Konstantinov
Assignee: Dmitry Konstantinov
During a latency issues investigation it is useful to see when JVM is paused by some reasons. There are JVM JMX metrics for GC but GC is not only the reason for pauses, it can be due to too high CPU, noisy neighbour, VM movement, VM over-provisioning, safepoints, etc.
https://github.com/giltene/jHiccup agent suggest a way to measure it. The agent itself does not provide JMX metrics but we can repeat the same idea in our code, it is a simple idea: run a thread which regularly go to sleep for a configured time interval and then we compare the actual sleep time vs real time: https://github.com/giltene/jHiccup/blob/master/src/main/java/org/jhiccup/HiccupMeter.java#L484
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org