From eec2cf6bf6c2d79d0358deba933afe289af97c5d Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Fri, 13 Mar 2015 17:30:18 -0700 Subject: [PATCH] Use a better ID for the server ID in stats --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index cfa17d5f1a1..339cf33e765 100644 --- a/server.go +++ b/server.go @@ -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) {