elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Elasticsearch::API::Nodes::Actions#hot_threads
Returns information about the hottest threads in the cluster or on a specific node as a String. The information is returned as text, and allows you to understand what are currently the most taxing operations happening in the cluster, for debugging or monitoring purposes.
Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open elasticsearch-api/lib/elasticsearch/api/actions/nodes/hot_threads.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Elasticsearch--API--Nodes--Actions-hot_threads-for-pr
# Commit to gitgit add elasticsearch-api/lib/elasticsearch/api/actions/nodes/hot_threads.rbgit commit -m "better docs for Elasticsearch::API::Nodes::Actions#hot_threads"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Elasticsearch--API--Nodes--Actions-hot_threads-for-pr
hub pull-request
# Celebrate!