cmd/geth, metrics: separate process metric collection, add disk
This commit is contained in:
committed by
Jeffrey Wilcke
parent
7c4ed8055c
commit
2aeeb72fa5
10
metrics/disk_nop.go
Normal file
10
metrics/disk_nop.go
Normal file
@ -0,0 +1,10 @@
|
||||
// +build !linux
|
||||
|
||||
package metrics
|
||||
|
||||
import "errors"
|
||||
|
||||
// ReadDiskStats retrieves the disk IO stats belonging to the current process.
|
||||
func ReadDiskStats(stats *DiskStats) error {
|
||||
return errors.New("Not implemented")
|
||||
}
|
Reference in New Issue
Block a user