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

runtime/metrics: add scheduling statistics for go routines #50715

Open
znkr opened this issue Jan 20, 2022 · 2 comments
Open

runtime/metrics: add scheduling statistics for go routines #50715

znkr opened this issue Jan 20, 2022 · 2 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

Comments

@znkr
Copy link
Contributor

znkr commented Jan 20, 2022

For load shedding and monitoring/troubleshooting it's useful to understand how many goroutines are in which state: In particular, I am interested in the states: running, runnable, non-go (syscall/cgo), and blocked. Right now, the only available metric is /sched/goroutines:goroutines, would it be possible to break that down by state?

@znkr
Copy link
Contributor Author

znkr commented Jan 20, 2022

cc @jeremyfaller

@heschi heschi added the NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. label Jan 21, 2022
@heschi heschi added this to the Go1.19 milestone Jan 21, 2022
@ianlancetaylor
Copy link
Contributor

CC @mknyszek @golang/runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
Status: Triage Backlog
Status: No status
Development

No branches or pull requests

4 participants