Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectData ¶
CollectData is all the Metric data
type Collectd ¶
type Collectd interface {
Start() (CollectData, error)
}
Collectd is the interface of all the collector
type PdConnection ¶
type PdConnection struct { Name string // contains filtered or unexported fields }
func GetPdConn ¶
func GetPdConn(address string, name string) (conn *PdConnection, err error)
func (*PdConnection) Start ¶
func (pc *PdConnection) Start() (data CollectData, err error)
type PdTikvConnection ¶
type PdTikvConnection struct { Name string // contains filtered or unexported fields }
func GetPdTikvConn ¶
func GetPdTikvConn(address string, name string) (conn *PdTikvConnection, err error)
func (*PdTikvConnection) Start ¶
func (pc *PdTikvConnection) Start() (data CollectData, err error)
type TidbConnection ¶
type TidbConnection struct { Name string // contains filtered or unexported fields }
func GetTidbConn ¶
func GetTidbConn(address string, name string) (conn *TidbConnection, err error)
func (*TidbConnection) Start ¶
func (tc *TidbConnection) Start() (data CollectData, err error)
Click to show internal directories.
Click to hide internal directories.