Skip to content

Commit

Permalink
Use a better ID for the server ID in stats
Browse files Browse the repository at this point in the history
  • Loading branch information
otoolep committed Mar 15, 2015
1 parent 50d2470 commit eec2cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func (s *Server) StartSelfMonitoring(database, retention string, interval time.D
// Create the data point and write it.
point := Point{
Name: s.stats.Name(),
Tags: map[string]string{"id": strconv.FormatUint(s.id, 10)},
Tags: map[string]string{"raftID": strconv.FormatUint(s.id, 10)},
Fields: make(map[string]interface{}),
}
s.stats.Walk(func(k string, v int64) {
Expand Down

0 comments on commit eec2cf6

Please sign in to comment.