Skip to content

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

Open
@znkr

Description

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?

Metadata

Assignees

No one assigned

    Labels

    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    • Status

      Triage Backlog
    • Status

      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions