Documentation ¶
Index ¶
- func AlertBasicInfo(mysql *xorm.Engine, db_id int)
- func AlertConnect(mysql *xorm.Engine, db_id int)
- func CheckExpression(tri common.Trigger, item_value string) int
- func Check_Item_Status(mysql *xorm.Engine, db_id int, trigger_type string, item_name string, ...)
- func ExecTriggers(mysql *xorm.Engine, db_id int, trigger_type string, item_name string, ...)
- func GatherBasicInfo(db *sql.DB, mysql *xorm.Engine, db_id int, host string, port int, alias string) error
- func GatherDbStatus(mysql *xorm.Engine, db_id int)
- func GatherMetricValue(db *sql.DB, mysql *xorm.Engine, db_id int, host string, port int, alias string)
- func GenerateMaster(mysql *xorm.Engine, dr_id int, db_id int, connStr string)
- func GenerateMySQLDrStats(wg *sync.WaitGroup, mysql *xorm.Engine, dis common.Dr)
- func GenerateMySQLStats(wg *sync.WaitGroup, mysql *xorm.Engine, db_id int, host string, port int, ...)
- func GenerateSlave(mysql *xorm.Engine, dr_id int, db_id int, connStr string)
- func GetColumnValue(mysql *xorm.Engine, column string, db_id int) string
- func GetConnect(mysql *xorm.Engine, db_id int) string
- func GetDsn(db *xorm.Engine, db_id int, asset_type int) (string, error)
- func GetGlobalStatus(db *sql.DB) (map[string]string, error)
- func GetGlobalVariable(db *sql.DB, variable string) (string, error)
- func GetGlobalVariables(db *sql.DB) (map[string]string, error)
- func GetLogPerSecond(mysql *xorm.Engine, db_id int) int
- func GetMasterLogSpace(db *sql.DB) (int, error)
- func GetMasterStatus(db *sql.DB) (string, string, error)
- func GetProcessWaits(db *sql.DB) int
- func GetQPS(mysql *xorm.Engine, db_id int) int
- func GetReplicationDelay(mysql *xorm.Engine, db_id int) string
- func GetReplicationStatus(mysql *xorm.Engine, db_id int) string
- func GetRole(db *sql.DB) string
- func GetTPS(mysql *xorm.Engine, db_id int) int
- func GetVersion(db *sql.DB) string
- func MoveToHistory(mysql *xorm.Engine, table_name string, key_name string, key_value int)
- func StorageMetricData(mysql *xorm.Engine, db_id int, metric string, timestamp string, value string, ...)
- func Update_Item_Tips(mysql *xorm.Engine, db_id int, field string, value string, trigger_type string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertBasicInfo ¶
func AlertConnect ¶
func Check_Item_Status ¶
func ExecTriggers ¶
func GatherBasicInfo ¶
func GatherDbStatus ¶
func GatherMetricValue ¶
func GenerateMySQLDrStats ¶
func GenerateMySQLStats ¶
func GetProcessWaits ¶
func GetVersion ¶
func MoveToHistory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.