mirror of
https://github.com/sberk42/fritzbox_exporter.git
synced 2026-02-14 11:49:50 +00:00
exteded debug info
This commit is contained in:
2
main.go
2
main.go
@@ -319,7 +319,7 @@ func (fc *FritzboxCollector) reportMetric(ch chan<- prometheus.Metric, m *Metric
|
|||||||
floatval = 0
|
floatval = 0
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
logrus.Warnf("unknown type: %s", val)
|
logrus.Warnf("unknown type: %T (value: %v) for metric %s.%s.%s", tval, val, m.Service, m.Action, m.Result)
|
||||||
collectErrors.Inc()
|
collectErrors.Inc()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user