Browse Source

Fix conntrack collector log noise

Fix un-handled file not found for conntrack stats.

Signed-off-by: Ben Kochie <superq@gmail.com>
pull/2079/head
Ben Kochie 3 years ago
parent
commit
6ac7a53f45
No known key found for this signature in database
GPG Key ID: C646B23C9E3245F1
  1. 2
      collector/conntrack_linux.go

2
collector/conntrack_linux.go

@ -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…
Cancel
Save