Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FsMonitorTask ¶
type FsMonitorTask struct { Topic string Period int Store *storage.YigFsStorage Sender message.MessageSender FsChan chan *st.FsMetrics ThreadNum int // contains filtered or unexported fields }
func NewFsMonitorTask ¶
func (*FsMonitorTask) Run ¶
func (mt *FsMonitorTask) Run()
func (*FsMonitorTask) ScanFsIndicators ¶
func (mt *FsMonitorTask) ScanFsIndicators()
func (*FsMonitorTask) Stop ¶
func (mt *FsMonitorTask) Stop()
type MetricsResp ¶
type MetricsResp struct { }
type MonitorData ¶
type MonitorData struct { ResultType string `json:"resultType"` Result []*MonitorResult `json:"result"` }
type MonitorMetric ¶
type MonitorResp ¶
type MonitorResp struct { Status string `json:"status"` Data *MonitorData `json:"data"` }
type MonitorResult ¶
type MonitorResult struct { Metric *MonitorMetric `json:"metric"` Value []interface{} `json:"value"` }
Click to show internal directories.
Click to hide internal directories.