Mark Curtis created CASSANDRA-12226:
---------------------------------------

             Summary: Nodetool tpstats output could benefit from "events since" 
information
                 Key: CASSANDRA-12226
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12226
             Project: Cassandra
          Issue Type: Improvement
          Components: Tools
            Reporter: Mark Curtis
            Priority: Minor


The output of tools like {{nodetool tpstats}} are very useful for seeing 
historical counters of things like dropped mutations etc.

What would be very useful (if possible of course) is something above these to 
say "since <x>" to help the user understand how long these stats apply and when 
we started collecting them.

This might extend to other outputs like histograms, even if these are more like 
"since you last run this" it might still be useful.

Here's an example:

{code}
Pool Name                    Active   Pending      Completed   Blocked  All 
time blocked
CounterMutationStage              0         0              0         0          
       0
ReadStage                         0         0      111284390         0          
       0
RequestResponseStage              0         0      297011175         0          
       0
MutationStage                     0         0      134532012         0          
       0
ReadRepairStage                   0         0         742114         0          
       0
GossipStage                       0         0        5639150         0          
       0
CacheCleanupExecutor              0         0              0         0          
       0
MigrationStage                    0         0            315         0          
       0
ValidationExecutor                0         0         482844         0          
       0
Sampler                           0         0              0         0          
       0
MemtableReclaimMemory             0         0         164619         0          
       0
InternalResponseStage             0         0         792376         0          
       0
AntiEntropyStage                  0         0        5402052         0          
       0
MiscStage                         0         0           1197         0          
       0
CommitLogArchiver                 0         0              0         0          
       0
MemtableFlushWriter               0         0         164564         0          
       0
PendingRangeCalculator            0         0             70         0          
       0
MemtablePostFlush                 0         0         811892         0          
       0
CompactionExecutor                7        11        3250908         0          
       0
AntiEntropySessions               4       218         142144         0          
       0
HintedHandoff                     2         7            602         0          
       0
Native-Transport-Requests         0         0       97372556         0          
      34

Dropped messages since 2016-07-18 01:00:04

Message type           Dropped
RANGE_SLICE                  0
READ_REPAIR                  0
PAGED_RANGE                  0
BINARY                       0
READ                         0
MUTATION                     0
_TRACE                  179705
REQUEST_RESPONSE             0
COUNTER_MUTATION             0
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to