From 00236605fa44a2fdefbb69ebc7b647b42c6f47dd Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Mon, 4 Jan 2016 12:52:30 +0000 Subject: [PATCH] Don't report network stats (we don't show them in UI anyway) --- probe/docker/container.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/probe/docker/container.go b/probe/docker/container.go index b2553317b0..f848c2f465 100644 --- a/probe/docker/container.go +++ b/probe/docker/container.go @@ -350,15 +350,6 @@ func (c *container) GetNode(hostID string, localAddrs []net.IP) report.Node { } result = result.WithMetadata(map[string]string{ - NetworkRxDropped: strconv.FormatUint(c.latestStats.Network.RxDropped, 10), - NetworkRxBytes: strconv.FormatUint(c.latestStats.Network.RxBytes, 10), - NetworkRxErrors: strconv.FormatUint(c.latestStats.Network.RxErrors, 10), - NetworkTxPackets: strconv.FormatUint(c.latestStats.Network.TxPackets, 10), - NetworkTxDropped: strconv.FormatUint(c.latestStats.Network.TxDropped, 10), - NetworkRxPackets: strconv.FormatUint(c.latestStats.Network.RxPackets, 10), - NetworkTxErrors: strconv.FormatUint(c.latestStats.Network.TxErrors, 10), - NetworkTxBytes: strconv.FormatUint(c.latestStats.Network.TxBytes, 10), - MemoryMaxUsage: strconv.FormatUint(c.latestStats.MemoryStats.MaxUsage, 10), MemoryUsage: strconv.FormatUint(c.latestStats.MemoryStats.Usage, 10), MemoryFailcnt: strconv.FormatUint(c.latestStats.MemoryStats.Failcnt, 10),