aboutsummaryrefslogtreecommitdiffstats
path: root/metrics/disk_nop.go
diff options
context:
space:
mode:
Diffstat (limited to 'metrics/disk_nop.go')
-rw-r--r--metrics/disk_nop.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/metrics/disk_nop.go b/metrics/disk_nop.go
new file mode 100644
index 000000000..539ab8d1a
--- /dev/null
+++ b/metrics/disk_nop.go
@@ -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")
+}