Skip to content

Conversation

@kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Jan 21, 2026

Add support for 6 new scheduler metrics introduced in Go 1.26:

  • /sched/goroutines-created:goroutines (counter)
  • /sched/goroutines/not-in-go:goroutines (gauge)
  • /sched/goroutines/runnable:goroutines (gauge)
  • /sched/goroutines/running:goroutines (gauge)
  • /sched/goroutines/waiting:goroutines (gauge)
  • /sched/threads/total:threads (gauge)

These metrics enable production monitoring for detecting lock contention,
syscall blockages, scheduler bottlenecks, and CPU capacity issues.

Also includes:

  • Regenerated Go 1.25 and 1.24 test files compatibility
  • Fixed flaky TestTimerObserve test by adding minimum delay
  • Updated supported_go_versions.json to include Go 1.26rc2

Signed-off-by: Kemal Akkoyun kakkoyun@gmail.com

Add support for 6 new scheduler metrics introduced in Go 1.26:
- /sched/goroutines-created:goroutines (counter)
- /sched/goroutines/not-in-go:goroutines (gauge)
- /sched/goroutines/runnable:goroutines (gauge)
- /sched/goroutines/running:goroutines (gauge)
- /sched/goroutines/waiting:goroutines (gauge)
- /sched/threads/total:threads (gauge)

These metrics enable production monitoring for detecting lock contention,
syscall blockages, scheduler bottlenecks, and CPU capacity issues.

Also includes:
- Regenerated Go 1.25 test files for Go 1.25.6 compatibility
- Fixed flaky TestTimerObserve test by adding minimum delay
- Updated supported_go_versions.json to include Go 1.26rc2

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
@kakkoyun kakkoyun changed the title feat(collector): add Go 1.26 runtime metrics support feat(collector): add Go 1.26 new runtime metrics Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant