stats.go 375 B

1234567891011
  1. package stats
  2. type Stats interface {
  3. // SelfStats returns the struct representing statistics of this server
  4. SelfStats() []byte
  5. // LeaderStats returns the statistics of all followers in the cluster
  6. // if this server is leader. Otherwise, nil is returned.
  7. LeaderStats() []byte
  8. // StoreStats returns statistics of the store backing this EtcdServer
  9. StoreStats() []byte
  10. }