Add per-host shard metrics in mongodb input (#3819)
This commit is contained in:
committed by
Daniel Nelson
parent
d44b3f6839
commit
0fc8724f88
@@ -156,6 +156,7 @@ func (s *Server) gatherData(acc telegraf.Accumulator, gatherDbStats bool) error
|
||||
)
|
||||
data.AddDefaultStats()
|
||||
data.AddDbStats()
|
||||
data.AddShardHostStats()
|
||||
data.flush(acc)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user