Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

adds GetHotThreads to es client#94

Merged
hugodorea merged 3 commits intomainfrom
hugodorea/adds-get-hot-threads-method
Aug 5, 2022
Merged

adds GetHotThreads to es client#94
hugodorea merged 3 commits intomainfrom
hugodorea/adds-get-hot-threads-method

Conversation

@hugodorea
Copy link
Copy Markdown
Contributor

This PR adds the GetHotThreads method to the es client, so we can move forward with https://github.com/github/vulcan-go/issues/150

@hugodorea hugodorea self-assigned this Aug 4, 2022
@hugodorea hugodorea marked this pull request as ready for review August 4, 2022 21:40
Copy link
Copy Markdown

@zmoazeni zmoazeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🙏

Copy link
Copy Markdown

@threebee threebee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! It would be great if we could add support for GET /_nodes/nodeId1,nodeId2/hot_threads too. I think it would be handy while debugging cases where the CPU is high only on a few nodes in the cluster.

@hugodorea
Copy link
Copy Markdown
Contributor Author

hugodorea commented Aug 5, 2022

That is a good idea, @threebee! I'll add this new function in another PR, ok?

@hugodorea hugodorea merged commit 7a2cf52 into main Aug 5, 2022
@hugodorea hugodorea deleted the hugodorea/adds-get-hot-threads-method branch August 5, 2022 16:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants