Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMaster ¶
func RegisterMaster(call func(masterMonitor *MasterMonitor))
Types ¶
type MasterMonitor ¶
type MasterMonitor struct { Cpu *prometheus.GaugeVec Mem *prometheus.GaugeVec Fs *prometheus.GaugeVec NetIn *prometheus.GaugeVec NetOut *prometheus.GaugeVec Gc *prometheus.GaugeVec Routines *prometheus.GaugeVec //all has PartitionNum *prometheus.GaugeVec //schema num ServerNum prometheus.Gauge DBNum prometheus.Gauge SpaceNum prometheus.Gauge SpaceDoc *prometheus.GaugeVec SpaceSize *prometheus.GaugeVec //ps value PSLeaderNum *prometheus.GaugeVec PSPartitionSize *prometheus.GaugeVec PSPartitionDoc *prometheus.GaugeVec }
Click to show internal directories.
Click to hide internal directories.