[jira] [Updated] (CASSANDRA-14523) Thread pool stats virtual table

2018-08-06 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14523:
--
   Resolution: Fixed
Fix Version/s: (was: 4.x)
   4.0
   Status: Resolved  (was: Patch Available)

> Thread pool stats virtual table
> ---
>
> Key: CASSANDRA-14523
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14523
> Project: Cassandra
>  Issue Type: New Feature
>Reporter: Chris Lohfink
>Assignee: Chris Lohfink
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.0
>
>
> Expose the thread pools like in status logger/tpstats. Additionally be nice 
> to include the scheduled executor pools that are currently unmonitored.
> {code:java}
> cqlsh> select * from system_views.thread_pools;
>  thread_pool  | active | active_max | completed | pending 
> | tasks_blocked | total_blocked
> --+++---+-+---+---
>anti_entropy_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>cache_cleanup_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   compaction_executor |  0 |  4 |41 |   0 
> | 0 | 0
>counter_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
>  gossip_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>  hints_dispatcher |  0 |  2 | 0 |   0 
> | 0 | 0
>   internal_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
> memtable_flush_writer |  0 |  2 | 5 |   0 
> | 0 | 0
>   memtable_post_flush |  0 |  1 |20 |   0 
> | 0 | 0
>   memtable_reclaim_memory |  0 |  1 | 5 |   0 
> | 0 | 0
>   migration_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>misc_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>mutation_stage |  0 | 32 |   247 |   0 
> | 0 | 0
> native_transport_requests |  1 |128 |28 |   0 
> | 0 | 0
>  pending_range_calculator |  0 |  1 | 2 |   0 
> | 0 | 0
>  per_disk_memtable_flush_writer_0 |  0 |  2 | 5 |   0 
> | 0 | 0
> read_repair_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>read_stage |  0 | 32 |13 |   0 
> | 0 | 0
>   repair_task |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>request_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>   sampler |  0 |  1 | 0 |   0 
> | 0 | 0
>  scheduled_fast_tasks |  0 | 2147483647 |  1398 |   1 
> | 0 | 0
>   scheduled_heartbeat |  0 | 2147483647 |14 |   1 
> | 0 | 0
> scheduled_hotness_tracker |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>  scheduled_non_periodic_tasks |  0 | 2147483647 |10 |   0 
> | 0 | 0
>  scheduled_optional_tasks |  0 | 2147483647 | 5 |   8 
> | 0 | 0
> scheduled_summary_builder |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>   scheduled_tasks |  0 | 2147483647 |   194 |  74 
> | 0 | 0
>secondary_index_management |  0 |  1 | 0 |   0 
> | 0 | 0
>   validation_executor |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>   view_build_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   view_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
> {code}



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


[jira] [Updated] (CASSANDRA-14523) Thread pool stats virtual table

2018-08-02 Thread Benjamin Lerer (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-14523:
---
Reviewers: Aleksey Yeschenko  (was: Aleksey Yeschenko, Benjamin Lerer)

> Thread pool stats virtual table
> ---
>
> Key: CASSANDRA-14523
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14523
> Project: Cassandra
>  Issue Type: New Feature
>Reporter: Chris Lohfink
>Assignee: Chris Lohfink
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.x
>
>
> Expose the thread pools like in status logger/tpstats. Additionally be nice 
> to include the scheduled executor pools that are currently unmonitored.
> {code:java}
> cqlsh> select * from system_views.thread_pools;
>  thread_pool  | active | active_max | completed | pending 
> | tasks_blocked | total_blocked
> --+++---+-+---+---
>anti_entropy_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>cache_cleanup_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   compaction_executor |  0 |  4 |41 |   0 
> | 0 | 0
>counter_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
>  gossip_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>  hints_dispatcher |  0 |  2 | 0 |   0 
> | 0 | 0
>   internal_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
> memtable_flush_writer |  0 |  2 | 5 |   0 
> | 0 | 0
>   memtable_post_flush |  0 |  1 |20 |   0 
> | 0 | 0
>   memtable_reclaim_memory |  0 |  1 | 5 |   0 
> | 0 | 0
>   migration_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>misc_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>mutation_stage |  0 | 32 |   247 |   0 
> | 0 | 0
> native_transport_requests |  1 |128 |28 |   0 
> | 0 | 0
>  pending_range_calculator |  0 |  1 | 2 |   0 
> | 0 | 0
>  per_disk_memtable_flush_writer_0 |  0 |  2 | 5 |   0 
> | 0 | 0
> read_repair_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>read_stage |  0 | 32 |13 |   0 
> | 0 | 0
>   repair_task |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>request_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>   sampler |  0 |  1 | 0 |   0 
> | 0 | 0
>  scheduled_fast_tasks |  0 | 2147483647 |  1398 |   1 
> | 0 | 0
>   scheduled_heartbeat |  0 | 2147483647 |14 |   1 
> | 0 | 0
> scheduled_hotness_tracker |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>  scheduled_non_periodic_tasks |  0 | 2147483647 |10 |   0 
> | 0 | 0
>  scheduled_optional_tasks |  0 | 2147483647 | 5 |   8 
> | 0 | 0
> scheduled_summary_builder |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>   scheduled_tasks |  0 | 2147483647 |   194 |  74 
> | 0 | 0
>secondary_index_management |  0 |  1 | 0 |   0 
> | 0 | 0
>   validation_executor |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>   view_build_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   view_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
> {code}



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

-
To unsubscribe, 

[jira] [Updated] (CASSANDRA-14523) Thread pool stats virtual table

2018-08-01 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14523:
--
Fix Version/s: 4.x

> Thread pool stats virtual table
> ---
>
> Key: CASSANDRA-14523
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14523
> Project: Cassandra
>  Issue Type: New Feature
>Reporter: Chris Lohfink
>Assignee: Chris Lohfink
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.x
>
>
> Expose the thread pools like in status logger/tpstats. Additionally be nice 
> to include the scheduled executor pools that are currently unmonitored.
> {code:java}
> cqlsh> select * from system_views.thread_pools;
>  thread_pool  | active | active_max | completed | pending 
> | tasks_blocked | total_blocked
> --+++---+-+---+---
>anti_entropy_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>cache_cleanup_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   compaction_executor |  0 |  4 |41 |   0 
> | 0 | 0
>counter_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
>  gossip_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>  hints_dispatcher |  0 |  2 | 0 |   0 
> | 0 | 0
>   internal_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
> memtable_flush_writer |  0 |  2 | 5 |   0 
> | 0 | 0
>   memtable_post_flush |  0 |  1 |20 |   0 
> | 0 | 0
>   memtable_reclaim_memory |  0 |  1 | 5 |   0 
> | 0 | 0
>   migration_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>misc_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>mutation_stage |  0 | 32 |   247 |   0 
> | 0 | 0
> native_transport_requests |  1 |128 |28 |   0 
> | 0 | 0
>  pending_range_calculator |  0 |  1 | 2 |   0 
> | 0 | 0
>  per_disk_memtable_flush_writer_0 |  0 |  2 | 5 |   0 
> | 0 | 0
> read_repair_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>read_stage |  0 | 32 |13 |   0 
> | 0 | 0
>   repair_task |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>request_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>   sampler |  0 |  1 | 0 |   0 
> | 0 | 0
>  scheduled_fast_tasks |  0 | 2147483647 |  1398 |   1 
> | 0 | 0
>   scheduled_heartbeat |  0 | 2147483647 |14 |   1 
> | 0 | 0
> scheduled_hotness_tracker |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>  scheduled_non_periodic_tasks |  0 | 2147483647 |10 |   0 
> | 0 | 0
>  scheduled_optional_tasks |  0 | 2147483647 | 5 |   8 
> | 0 | 0
> scheduled_summary_builder |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>   scheduled_tasks |  0 | 2147483647 |   194 |  74 
> | 0 | 0
>secondary_index_management |  0 |  1 | 0 |   0 
> | 0 | 0
>   validation_executor |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>   view_build_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   view_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
> {code}



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

-
To unsubscribe, e-mail: 

[jira] [Updated] (CASSANDRA-14523) Thread pool stats virtual table

2018-08-01 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14523:
--
Reviewers: Aleksey Yeschenko, Benjamin Lerer
 Reviewer:   (was: Benjamin Lerer)

> Thread pool stats virtual table
> ---
>
> Key: CASSANDRA-14523
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14523
> Project: Cassandra
>  Issue Type: New Feature
>Reporter: Chris Lohfink
>Assignee: Chris Lohfink
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.x
>
>
> Expose the thread pools like in status logger/tpstats. Additionally be nice 
> to include the scheduled executor pools that are currently unmonitored.
> {code:java}
> cqlsh> select * from system_views.thread_pools;
>  thread_pool  | active | active_max | completed | pending 
> | tasks_blocked | total_blocked
> --+++---+-+---+---
>anti_entropy_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>cache_cleanup_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   compaction_executor |  0 |  4 |41 |   0 
> | 0 | 0
>counter_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
>  gossip_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>  hints_dispatcher |  0 |  2 | 0 |   0 
> | 0 | 0
>   internal_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
> memtable_flush_writer |  0 |  2 | 5 |   0 
> | 0 | 0
>   memtable_post_flush |  0 |  1 |20 |   0 
> | 0 | 0
>   memtable_reclaim_memory |  0 |  1 | 5 |   0 
> | 0 | 0
>   migration_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>misc_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>mutation_stage |  0 | 32 |   247 |   0 
> | 0 | 0
> native_transport_requests |  1 |128 |28 |   0 
> | 0 | 0
>  pending_range_calculator |  0 |  1 | 2 |   0 
> | 0 | 0
>  per_disk_memtable_flush_writer_0 |  0 |  2 | 5 |   0 
> | 0 | 0
> read_repair_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>read_stage |  0 | 32 |13 |   0 
> | 0 | 0
>   repair_task |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>request_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>   sampler |  0 |  1 | 0 |   0 
> | 0 | 0
>  scheduled_fast_tasks |  0 | 2147483647 |  1398 |   1 
> | 0 | 0
>   scheduled_heartbeat |  0 | 2147483647 |14 |   1 
> | 0 | 0
> scheduled_hotness_tracker |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>  scheduled_non_periodic_tasks |  0 | 2147483647 |10 |   0 
> | 0 | 0
>  scheduled_optional_tasks |  0 | 2147483647 | 5 |   8 
> | 0 | 0
> scheduled_summary_builder |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>   scheduled_tasks |  0 | 2147483647 |   194 |  74 
> | 0 | 0
>secondary_index_management |  0 |  1 | 0 |   0 
> | 0 | 0
>   validation_executor |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>   view_build_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   view_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
> {code}



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


[jira] [Updated] (CASSANDRA-14523) Thread pool stats virtual table

2018-07-31 Thread Chris Lohfink (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Lohfink updated CASSANDRA-14523:
--
Status: Patch Available  (was: Open)

> Thread pool stats virtual table
> ---
>
> Key: CASSANDRA-14523
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14523
> Project: Cassandra
>  Issue Type: New Feature
>Reporter: Chris Lohfink
>Assignee: Chris Lohfink
>Priority: Minor
>  Labels: virtual-tables
>
> Expose the thread pools like in status logger/tpstats. Additionally be nice 
> to include the scheduled executor pools that are currently unmonitored.
> {code:java}
> cqlsh> select * from system_views.thread_pools;
>  thread_pool  | active | active_max | completed | pending 
> | tasks_blocked | total_blocked
> --+++---+-+---+---
>anti_entropy_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>cache_cleanup_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   compaction_executor |  0 |  4 |41 |   0 
> | 0 | 0
>counter_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
>  gossip_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>  hints_dispatcher |  0 |  2 | 0 |   0 
> | 0 | 0
>   internal_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
> memtable_flush_writer |  0 |  2 | 5 |   0 
> | 0 | 0
>   memtable_post_flush |  0 |  1 |20 |   0 
> | 0 | 0
>   memtable_reclaim_memory |  0 |  1 | 5 |   0 
> | 0 | 0
>   migration_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>misc_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>mutation_stage |  0 | 32 |   247 |   0 
> | 0 | 0
> native_transport_requests |  1 |128 |28 |   0 
> | 0 | 0
>  pending_range_calculator |  0 |  1 | 2 |   0 
> | 0 | 0
>  per_disk_memtable_flush_writer_0 |  0 |  2 | 5 |   0 
> | 0 | 0
> read_repair_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>read_stage |  0 | 32 |13 |   0 
> | 0 | 0
>   repair_task |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>request_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>   sampler |  0 |  1 | 0 |   0 
> | 0 | 0
>  scheduled_fast_tasks |  0 | 2147483647 |  1398 |   1 
> | 0 | 0
>   scheduled_heartbeat |  0 | 2147483647 |14 |   1 
> | 0 | 0
> scheduled_hotness_tracker |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>  scheduled_non_periodic_tasks |  0 | 2147483647 |10 |   0 
> | 0 | 0
>  scheduled_optional_tasks |  0 | 2147483647 | 5 |   8 
> | 0 | 0
> scheduled_summary_builder |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>   scheduled_tasks |  0 | 2147483647 |   194 |  74 
> | 0 | 0
>secondary_index_management |  0 |  1 | 0 |   0 
> | 0 | 0
>   validation_executor |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>   view_build_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   view_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
> {code}



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

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

[jira] [Updated] (CASSANDRA-14523) Thread pool stats virtual table

2018-06-25 Thread Benjamin Lerer (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-14523:
---
Reviewer: Benjamin Lerer

> Thread pool stats virtual table
> ---
>
> Key: CASSANDRA-14523
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14523
> Project: Cassandra
>  Issue Type: New Feature
>Reporter: Chris Lohfink
>Assignee: Chris Lohfink
>Priority: Minor
>  Labels: virtual-tables
>
> Expose the thread pools like in status logger/tpstats. Additionally be nice 
> to include the scheduled executor pools that are currently unmonitored.
> {code:java}
> cqlsh> select * from system_views.thread_pools;
>  thread_pool  | active | active_max | completed | pending 
> | tasks_blocked | total_blocked
> --+++---+-+---+---
>anti_entropy_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>cache_cleanup_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   compaction_executor |  0 |  4 |41 |   0 
> | 0 | 0
>counter_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
>  gossip_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>  hints_dispatcher |  0 |  2 | 0 |   0 
> | 0 | 0
>   internal_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
> memtable_flush_writer |  0 |  2 | 5 |   0 
> | 0 | 0
>   memtable_post_flush |  0 |  1 |20 |   0 
> | 0 | 0
>   memtable_reclaim_memory |  0 |  1 | 5 |   0 
> | 0 | 0
>   migration_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>misc_stage |  0 |  1 | 0 |   0 
> | 0 | 0
>mutation_stage |  0 | 32 |   247 |   0 
> | 0 | 0
> native_transport_requests |  1 |128 |28 |   0 
> | 0 | 0
>  pending_range_calculator |  0 |  1 | 2 |   0 
> | 0 | 0
>  per_disk_memtable_flush_writer_0 |  0 |  2 | 5 |   0 
> | 0 | 0
> read_repair_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>read_stage |  0 | 32 |13 |   0 
> | 0 | 0
>   repair_task |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>request_response_stage |  0 |  8 | 0 |   0 
> | 0 | 0
>   sampler |  0 |  1 | 0 |   0 
> | 0 | 0
>  scheduled_fast_tasks |  0 | 2147483647 |  1398 |   1 
> | 0 | 0
>   scheduled_heartbeat |  0 | 2147483647 |14 |   1 
> | 0 | 0
> scheduled_hotness_tracker |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>  scheduled_non_periodic_tasks |  0 | 2147483647 |10 |   0 
> | 0 | 0
>  scheduled_optional_tasks |  0 | 2147483647 | 5 |   8 
> | 0 | 0
> scheduled_summary_builder |  0 | 2147483647 | 0 |   1 
> | 0 | 0
>   scheduled_tasks |  0 | 2147483647 |   194 |  74 
> | 0 | 0
>secondary_index_management |  0 |  1 | 0 |   0 
> | 0 | 0
>   validation_executor |  0 | 2147483647 | 0 |   0 
> | 0 | 0
>   view_build_executor |  0 |  1 | 0 |   0 
> | 0 | 0
>   view_mutation_stage |  0 | 32 | 0 |   0 
> | 0 | 0
> {code}



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

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

[jira] [Updated] (CASSANDRA-14523) Thread pool stats virtual table

2018-06-14 Thread Chris Lohfink (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Lohfink updated CASSANDRA-14523:
--
Description: 
Expose the thread pools like in status logger/tpstats. Additionally be nice to 
include the scheduled executor pools that are currently unmonitored.
{code:java}
cqlsh> select * from system_views.thread_pools;

 thread_pool  | active | active_max | completed | pending | 
tasks_blocked | total_blocked
--+++---+-+---+---
   anti_entropy_stage |  0 |  1 | 0 |   0 | 
0 | 0
   cache_cleanup_executor |  0 |  1 | 0 |   0 | 
0 | 0
  compaction_executor |  0 |  4 |41 |   0 | 
0 | 0
   counter_mutation_stage |  0 | 32 | 0 |   0 | 
0 | 0
 gossip_stage |  0 |  1 | 0 |   0 | 
0 | 0
 hints_dispatcher |  0 |  2 | 0 |   0 | 
0 | 0
  internal_response_stage |  0 |  8 | 0 |   0 | 
0 | 0
memtable_flush_writer |  0 |  2 | 5 |   0 | 
0 | 0
  memtable_post_flush |  0 |  1 |20 |   0 | 
0 | 0
  memtable_reclaim_memory |  0 |  1 | 5 |   0 | 
0 | 0
  migration_stage |  0 |  1 | 0 |   0 | 
0 | 0
   misc_stage |  0 |  1 | 0 |   0 | 
0 | 0
   mutation_stage |  0 | 32 |   247 |   0 | 
0 | 0
native_transport_requests |  1 |128 |28 |   0 | 
0 | 0
 pending_range_calculator |  0 |  1 | 2 |   0 | 
0 | 0
 per_disk_memtable_flush_writer_0 |  0 |  2 | 5 |   0 | 
0 | 0
read_repair_stage |  0 |  8 | 0 |   0 | 
0 | 0
   read_stage |  0 | 32 |13 |   0 | 
0 | 0
  repair_task |  0 | 2147483647 | 0 |   0 | 
0 | 0
   request_response_stage |  0 |  8 | 0 |   0 | 
0 | 0
  sampler |  0 |  1 | 0 |   0 | 
0 | 0
 scheduled_fast_tasks |  0 | 2147483647 |  1398 |   1 | 
0 | 0
  scheduled_heartbeat |  0 | 2147483647 |14 |   1 | 
0 | 0
scheduled_hotness_tracker |  0 | 2147483647 | 0 |   1 | 
0 | 0
 scheduled_non_periodic_tasks |  0 | 2147483647 |10 |   0 | 
0 | 0
 scheduled_optional_tasks |  0 | 2147483647 | 5 |   8 | 
0 | 0
scheduled_summary_builder |  0 | 2147483647 | 0 |   1 | 
0 | 0
  scheduled_tasks |  0 | 2147483647 |   194 |  74 | 
0 | 0
   secondary_index_management |  0 |  1 | 0 |   0 | 
0 | 0
  validation_executor |  0 | 2147483647 | 0 |   0 | 
0 | 0
  view_build_executor |  0 |  1 | 0 |   0 | 
0 | 0
  view_mutation_stage |  0 | 32 | 0 |   0 | 
0 | 0
{code}

  was:
Expose the thread pools like in status logger/tpstats. Additionally be nice to 
include the scheduled executor pools that are currently unmonitored.

{code}
cqlsh> select * from system_views.thread_pools;

 stage| active | active_max | completed | pending | 
tasks_blocked | total_blocked
--+++---+-+---+---
   anti_entropy_stage |  0 |  1 | 0 |   0 | 
0 | 0
   cache_cleanup_executor |  0 |  1 | 0 |   0 | 
0 | 0
  compaction_executor |  0 |  4 |41 |   0 | 
0 | 0