mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Fix conntrack collector log noise
Fix un-handled file not found for conntrack stats. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
6793e0e5a8
commit
6ac7a53f45
|
@ -129,7 +129,7 @@ func (c *conntrackCollector) Update(ch chan<- prometheus.Metric) error {
|
|||
|
||||
conntrackStats, err := getConntrackStatistics()
|
||||
if err != nil {
|
||||
return err
|
||||
return c.handleErr(err)
|
||||
}
|
||||
|
||||
ch <- prometheus.MustNewConstMetric(
|
||||
|
|
Loading…
Reference in a new issue