[release] v0.12.0-unstable6

This commit is contained in:
Yann Stepienik 2023-10-28 15:07:57 +01:00
parent 5e26d6ad90
commit 9d1cd315bc

View file

@ -56,7 +56,7 @@ func GetSystemMetrics() {
netIOTest, _ := net.IOCounters(true)
for _, v := range netIOTest {
utils.Debug("Metrics - Network", v.Name, v.BytesRecv, v.BytesSent, v.Errin, v.Errout, v.Dropin, v.Dropout)
utils.Debug("Metrics - Network " + v.Name + " : " + strconv.Itoa(int(v.BytesRecv)) + " / " + strconv.Itoa(int(v.BytesSent)) + " / " + strconv.Itoa(int(v.Errin + v.Errout)) + " / " + strconv.Itoa(int(v.Dropin + v.Dropout)))
}
PushSetMetric("system.netRx", int(netIO[0].BytesRecv), DataDef{