Skip to content

Commit

Permalink
Add number of goroutines to status service
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff R. Allen committed Oct 8, 2019
1 parent 8caa199 commit ffa3e9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func (c *Server) GetStatus() *Status {
"Port": c.ServerIdentity.Address.Port(),
"Description": c.ServerIdentity.Description,
"ConnType": string(c.ServerIdentity.Address.ConnType()),
"GoRoutines": fmt.Sprintf("%v", runtime.NumGoroutine()),
}}

goverOnce.Do(func() {
Expand Down

0 comments on commit ffa3e9a

Please sign in to comment.