mirror of
https://github.com/prometheus/node_exporter
synced 2024-12-26 08:02:11 +00:00
commit
6025dc207d
File diff suppressed because it is too large
Load Diff
@ -52,7 +52,7 @@ func parseNetDevStats(r io.Reader, ignore *regexp.Regexp) (map[string]map[string
|
||||
|
||||
receiveHeader := strings.Fields(parts[1])
|
||||
transmitHeader := strings.Fields(parts[2])
|
||||
headerLength := len(receiveHeader)+len(transmitHeader)+1
|
||||
headerLength := len(receiveHeader) + len(transmitHeader) + 1
|
||||
|
||||
netDev := map[string]map[string]string{}
|
||||
for scanner.Scan() {
|
||||
|
Loading…
Reference in New Issue
Block a user