run queue length

51 views
Skip to first unread message

Hochhaus, Andy

unread,
Dec 6, 2019, 2:29:42 PM12/6/19
to golan...@googlegroups.com
Hello,

I would like to export the runtime run queue length (as can be seen using "go tool trace") to our monitoring infrastructure but I am unable to find a way to access it using the runtime package without traces enabled. Is the run queue length accessible from application code?

-Andy

Ian Lance Taylor

unread,
Dec 6, 2019, 2:50:19 PM12/6/19
to Hochhaus, Andy, golang-nuts
On Fri, Dec 6, 2019 at 11:29 AM Hochhaus, Andy <ahoc...@samegoal.com> wrote:
>
> I would like to export the runtime run queue length (as can be seen using "go tool trace") to our monitoring infrastructure but I am unable to find a way to access it using the runtime package without traces enabled. Is the run queue length accessible from application code?

Not as far as I know. There is some related discussion at
https://golang.org/issue/15490.

Ian
Reply all
Reply to author
Forward
0 new messages