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 · 1 comment
Open

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

znkr opened this issue Jan 20, 2022 · 1 comment
Labels
NeedsDecision
Milestone

Comments

@znkr
Copy link

@znkr 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
Author

@znkr znkr commented Jan 20, 2022

@heschi heschi added the NeedsDecision label Jan 21, 2022
@heschi heschi added this to the Go1.19 milestone Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsDecision
Projects
None yet
Development

No branches or pull requests

2 participants