Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Etcdbeat ¶
type Etcdbeat struct { EbConfig config.ConfigSettings // contains filtered or unexported fields }
func (*Etcdbeat) StatisticsCheck ¶
type LeaderStats ¶
type LeaderStats struct { Followers map[string]struct { Counts struct { Fail int `json:"fail"` Success int `json:"success"` } `json:"counts"` Latency struct { Average float64 `json:"average"` Current float64 `json:"current"` Maximum float64 `json:"maximum"` Minimum int `json:"minimum"` StandardDeviation float64 `json:"standardDeviation"` } `json:"latency"` } `json:"followers"` Leader string `json:"leader"` }
type SelfStats ¶
type SelfStats struct { ID string `json:"id"` LeaderInfo struct { Leader string `json:"leader"` StartTime string `json:"startTime"` Uptime string `json:"uptime"` } `json:"leaderInfo"` Name string `json:"name"` RecvAppendRequestCnt int `json:"recvAppendRequestCnt"` RecvBandwidthRate float64 `json:"recvBandwidthRate"` RecvPkgRate float64 `json:"recvPkgRate"` SendAppendRequestCnt int `json:"sendAppendRequestCnt"` StartTime string `json:"startTime"` State string `json:"state"` }
type StoreStats ¶
type StoreStats struct { GetsSuccess int `json:"getsSuccess"` GetsFail int `json:"getsFail"` SetsSuccess int `json:"setsSuccess"` SetsFail int `json:"setsFail"` DeleteSuccess int `json:"deleteSuccess"` DeleteFail int `json:"deleteFail"` UpdateSuccess int `json:"updateSuccess"` UpdateFail int `json:"updateFail"` CreateSuccess int `json:"createSuccess"` CreateFail int `json:"createFail"` CompareAndSwapSuccess int `json:"compareAndSwapSuccess"` CompareAndSwapFail int `json:"compareAndSwapFail"` CompareAndDeleteSuccess int `json:"compareAndDeleteSuccess"` CompareAndDeleteFail int `json:"compareAndDeleteFail"` ExpireCount int `json:"expireCount"` Watchers int `json:"watchers"` }
Click to show internal directories.
Click to hide internal directories.