monitoring

package
v3.2.7+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: Apache-2.0, MIT Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMaster

func RegisterMaster(call func(masterMonitor *MasterMonitor))

func ToContent

func ToContent()

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL