mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
nomad: expose serf stats
This commit is contained in:
@@ -413,6 +413,7 @@ func (s *Server) Stats() map[string]map[string]string {
|
||||
"known_regions": toString(uint64(0)),
|
||||
},
|
||||
"raft": s.raft.Stats(),
|
||||
"serf": s.serf.Stats(),
|
||||
"runtime": runtimeStats(),
|
||||
}
|
||||
return stats
|
||||
|
||||
Reference in New Issue
Block a user