Documentation ¶ Index ¶ func New(base mb.BaseMetricSet) (mb.MetricSet, error) type MetricSet func (m *MetricSet) Fetch() ([]common.MapStr, error) type Node type OsdDfRequest type Output Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(base mb.BaseMetricSet) (mb.MetricSet, error) Types ¶ type MetricSet ¶ type MetricSet struct { mb.BaseMetricSet *helper.HTTP } func (*MetricSet) Fetch ¶ func (m *MetricSet) Fetch() ([]common.MapStr, error) type Node ¶ type Node struct { ID int64 `json:"id"` Name string `json:"name"` Used int64 `json:"kb_used"` Available int64 `json:"kb_avail"` Total int64 `json:"kb"` PgNum int64 `json:"pgs"` DeviceClass string `json:"device_class"` } type OsdDfRequest ¶ type OsdDfRequest struct { Status string `json:"status"` Output Output `json:"output"` } type Output ¶ type Output struct { Nodes []Node `json:"nodes"` } Source Files ¶ View all Source files data.go osd_df.go Click to show internal directories. Click to hide internal directories.