aboutsummaryrefslogtreecommitdiff
path: root/collector
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2020-02-18 11:33:46 +0100
committerGitHub <noreply@github.com>2020-02-18 11:33:46 +0100
commit14df2a1a1a24f14070fe5a158f8b099c0e000fa3 (patch)
tree05d72e1f5166d5e70d0a2847ff2fa46b66f68080 /collector
parentdcfd6104332b22d3de1afa5425b6316b7a2952c6 (diff)
downloadprometheus_node_collector-14df2a1a1a24f14070fe5a158f8b099c0e000fa3.tar.bz2
prometheus_node_collector-14df2a1a1a24f14070fe5a158f8b099c0e000fa3.tar.xz
prometheus_node_collector-14df2a1a1a24f14070fe5a158f8b099c0e000fa3.zip
Update to latest procfs library (#1611)
Bump to v0.0.10 procfs library. Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to 'collector')
-rw-r--r--collector/softnet_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/softnet_linux.go b/collector/softnet_linux.go
index 1f0bdec..e48f182 100644
--- a/collector/softnet_linux.go
+++ b/collector/softnet_linux.go
@@ -70,7 +70,7 @@ func NewSoftnetCollector(logger log.Logger) (Collector, error) {
70 70
71// Update gets parsed softnet statistics using procfs. 71// Update gets parsed softnet statistics using procfs.
72func (c *softnetCollector) Update(ch chan<- prometheus.Metric) error { 72func (c *softnetCollector) Update(ch chan<- prometheus.Metric) error {
73 stats, err := c.fs.GatherSoftnetStats() 73 stats, err := c.fs.NetSoftnetStat()
74 if err != nil { 74 if err != nil {
75 return fmt.Errorf("could not get softnet statistics: %s", err) 75 return fmt.Errorf("could not get softnet statistics: %s", err)
76 } 76 }