Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricsHandler ¶
NewMetricsHandler returns a http.Handler for the given path.
Types ¶
type Status ¶
type Status struct { BytesTotal uint64 `json:"bytes_total"` BytesUsed uint64 `json:"bytes_used"` BytesFree uint64 `json:"bytes_free"` InodesTotal uint64 `json:"inodes_total"` InodesUsed uint64 `json:"inodes_used"` InodesFree uint64 `json:"inodes_free"` }
Status contains disk informations.
Click to show internal directories.
Click to hide internal directories.