From 8849824ba96b2dcf0d4a7a065bbe9e7fd35986f7 Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Sun, 9 Oct 2022 02:56:15 +0200 Subject: [PATCH] Remove useless prints from MemstatCollector --- collectors/memstatMetric.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/collectors/memstatMetric.go b/collectors/memstatMetric.go index ed80de7..366607c 100644 --- a/collectors/memstatMetric.go +++ b/collectors/memstatMetric.go @@ -161,7 +161,6 @@ func (m *MemstatCollector) Init(config json.RawMessage) error { func (m *MemstatCollector) Read(interval time.Duration, output chan lp.CCMetric) { if !m.init { - cclog.ComponentPrint(m.name, "Here") return } @@ -220,14 +219,12 @@ func (m *MemstatCollector) Read(interval time.Duration, output chan lp.CCMetric) } if m.config.NodeStats { - cclog.ComponentInfo(m.name, MEMSTATFILE) nodestats := getStats(MEMSTATFILE) sendStats(nodestats, m.tags) } if m.config.NumaStats { for _, nodeConf := range m.nodefiles { - cclog.ComponentInfo(m.name, nodeConf.file) stats := getStats(nodeConf.file) sendStats(stats, nodeConf.tags) }