cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14436) Add sampler for query time and expose with nodetool
Date Sat, 04 Aug 2018 02:44:01 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-14436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569002#comment-16569002
] 

ASF GitHub Bot commented on CASSANDRA-14436:
--------------------------------------------

Github user dineshjoshi commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/244#discussion_r207697017
  
    --- Diff: src/java/org/apache/cassandra/metrics/TableMetrics.java ---
    @@ -281,7 +301,7 @@ public Long getValue()
         public final Meter readRepairRequests;
         public final Meter shortReadProtectionRequests;
     
    -    public final Map<Sampler, TopKSampler<ByteBuffer>> samplers;
    +    public final Map<SamplerType, Sampler<?>> samplers;
    --- End diff --
    
    This can be replaced with an `EnumMap`.


> Add sampler for query time and expose with nodetool
> ---------------------------------------------------
>
>                 Key: CASSANDRA-14436
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14436
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Chris Lohfink
>            Assignee: Chris Lohfink
>            Priority: Major
>
> Create a new {{nodetool profileload}} that functions just like toppartitions but with
more data, returning the slowest local reads and writes on the host during a given duration
and highest frequency touched partitions (same as {{nodetool toppartitions}}). Refactor included
to extend use of the sampler for uses outside of top frequency (max instead of total sample
values).
> Future work to this is to include top cpu and allocations by query and possibly tasks/cpu/allocations
by stage during time window.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message