Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libbeat] Add support for block and mutex profiling #33572

Closed
andrewkroh opened this issue Nov 3, 2022 · 2 comments · Fixed by #33576
Closed

[libbeat] Add support for block and mutex profiling #33572

andrewkroh opened this issue Nov 3, 2022 · 2 comments · Fixed by #33576
Labels
enhancement libbeat needs_team Indicates that the issue/PR needs a Team:* label

Comments

@andrewkroh
Copy link
Member

andrewkroh commented Nov 3, 2022

Describe the enhancement:

Add a configuration option to Beats to enable block profiling and mutex profiling.

Describe a specific use case for the enhancement or feature:

This would be used to help identify performance issues. Block profile shows where goroutines block waiting on synchronization primitives (including timer channels). Mutex profile reports the lock contentions. When you think your CPU is not fully utilized due to a mutex contention, you can use this.

References

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Nov 3, 2022
@botelastic
Copy link

botelastic bot commented Nov 3, 2022

This issue doesn't have a Team:<team> label.

andrewkroh added a commit to andrewkroh/beats that referenced this issue Nov 3, 2022
This enables performing mutex and block profiling. It also allows for configuring the mem profiling rate.
The new settings are:

- http.pprof.block_profile_rate
- http.pprof.mem_profile_rate
- http.pprof.mutex_profile_rate

Closes elastic#33572
@andrewkroh
Copy link
Member Author

PR: #33576

andrewkroh added a commit that referenced this issue Nov 4, 2022
)

This enables performing mutex and block profiling. It also allows for configuring the mem profiling rate.
The new settings are:

- http.pprof.block_profile_rate
- http.pprof.mem_profile_rate
- http.pprof.mutex_profile_rate

Closes #33572
chrisberkhout pushed a commit that referenced this issue Jun 1, 2023
)

This enables performing mutex and block profiling. It also allows for configuring the mem profiling rate.
The new settings are:

- http.pprof.block_profile_rate
- http.pprof.mem_profile_rate
- http.pprof.mutex_profile_rate

Closes #33572
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement libbeat needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant