Update to latest procfs library (#1611)

Bump to v0.0.10 procfs library.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2020-02-18 11:33:46 +01:00 committed by GitHub
commit 14df2a1a1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 849 additions and 250 deletions

View file

@ -70,7 +70,7 @@ func NewSoftnetCollector(logger log.Logger) (Collector, error) {
// Update gets parsed softnet statistics using procfs.
func (c *softnetCollector) Update(ch chan<- prometheus.Metric) error {
stats, err := c.fs.GatherSoftnetStats()
stats, err := c.fs.NetSoftnetStat()
if err != nil {
return fmt.Errorf("could not get softnet statistics: %s", err)
}