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:
parent
dcfd610433
commit
14df2a1a1a
17 changed files with 849 additions and 250 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue