further collector refactoring, add logging to metrics subpackage

This commit is contained in:
Bradley Cicenas
2017-02-23 02:24:26 +00:00
parent 70f86c4812
commit 7edde13a4d
4 changed files with 26 additions and 10 deletions

View File

@@ -2,8 +2,12 @@ package metrics
import (
"math"
"github.com/bcicen/ctop/logging"
)
var log = logging.Init()
type Metrics struct {
CPUUtil int
NetTx int64