Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

Since #93458 we capture and log the local node's hot threads when
something is holding on to a shard lock for longer than expected. In
fact there's various other reasons we might want to automatically
capture and log the local node's hot threads. This commit extracts a
utility method to do this.

Since elastic#93458 we capture and log the local node's hot threads when
something is holding on to a shard lock for longer than expected. In
fact there's various other reasons we might want to automatically
capture and log the local node's hot threads. This commit extracts a
utility method to do this.
@DaveCTurner DaveCTurner added >non-issue :Core/Infra/Core Core issues without another label v8.13.0 labels Dec 11, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Dec 11, 2023
Copy link
Contributor

@ldematte ldematte left a comment

Choose a reason for hiding this comment

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

LGTM
I like that you added checking the logger level based on the level passed, and not fixed at debug.

@DaveCTurner DaveCTurner merged commit f136767 into elastic:main Dec 11, 2023
@DaveCTurner DaveCTurner deleted the 2023/12/11/logLocalHotThreads branch December 11, 2023 14:40
@DaveCTurner DaveCTurner restored the 2023/12/11/logLocalHotThreads branch June 17, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v8.13.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants