Skip to content

Commit

Permalink
feat: add GoMaxProcs field to stats
Browse files Browse the repository at this point in the history
  • Loading branch information
fufuok committed Jul 2, 2024
1 parent d1a8c79 commit 7e63931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stats/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func SYSStats() map[string]any {
"ConfigModTime": master.ConfigModTime,
"GoVersion": config.GoVersion,
"DebVersion": config.DebVersion,
"GoMaxProcs": runtime.GOMAXPROCS(0),
"NumCpus": runtime.NumCPU(),
"NumGoroutine": runtime.NumGoroutine(),
"NumCgoCall": utils.Comma(runtime.NumCgoCall()),
Expand Down

0 comments on commit 7e63931

Please sign in to comment.