@@ -68,14 +68,19 @@ type MemoryData struct {
68
68
func (m MemoryData ) isMetric () {}
69
69
70
70
type DiskData struct {
71
- Device string `json:"device"` // Device
72
- TotalBytes * uint64 `json:"total_bytes"` // Total space of device in bytes
73
- FreeBytes * uint64 `json:"free_bytes"` // Free space of device in bytes
74
- ReadBytes * uint64 `json:"read_bytes"` // Amount of data read from the disk in bytes
75
- WriteBytes * uint64 `json:"write_bytes"` // Amount of data written to the disk in bytes
76
- ReadTime * uint64 `json:"read_time"` // Cumulative time spent performing read operations
77
- WriteTime * uint64 `json:"write_time"` // Cumulative time spent performing write operations
78
- UsagePercent * float64 `json:"usage_percent"` // Usage Percent of device
71
+ Device string `json:"device"` // Device
72
+ TotalBytes * uint64 `json:"total_bytes"` // Total space of device in bytes
73
+ FreeBytes * uint64 `json:"free_bytes"` // Free space of device in bytes
74
+ UsedBytes * uint64 `json:"used_bytes"` // Used space of device in bytes
75
+ UsagePercent * float64 `json:"usage_percent"` // Usage percent of device
76
+ TotalInodes * uint64 `json:"total_inodes"` // Total space of device in inodes
77
+ FreeInodes * uint64 `json:"free_inodes"` // Free space of device in inodes
78
+ UsedInodes * uint64 `json:"used_inodes"` // Used space of device in inodes
79
+ InodesUsagePercent * float64 `json:"inodes_usage_percent"` // Usage percent of device in inodes
80
+ ReadBytes * uint64 `json:"read_bytes"` // Amount of data read from the disk in bytes
81
+ WriteBytes * uint64 `json:"write_bytes"` // Amount of data written to the disk in bytes
82
+ ReadTime * uint64 `json:"read_time"` // Cumulative time spent performing read operations
83
+ WriteTime * uint64 `json:"write_time"` // Cumulative time spent performing write operations
79
84
}
80
85
81
86
func (d DiskData ) isMetric () {}
0 commit comments