Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorLogPage ¶
type ErrorLogPage struct {
pagination.NewSinglePageBase
}
type GetErrorLogsOpts ¶
type GetSlowLogsOpts ¶
type MysqlErrorLogList ¶
type MysqlErrorLogList struct {
NodeId string `json:"node_id"`
Time string `json:"time"`
Level string `json:"level"`
Content string `json:"content"`
}
func ExtractErrorLogs ¶
func ExtractErrorLogs(r pagination.NewPage) ([]MysqlErrorLogList, error)
func GetErrorLogs ¶
func GetErrorLogs(client *golangsdk.ServiceClient, opts GetErrorLogsOpts) ([]MysqlErrorLogList, error)
type MysqlSlowLogList ¶
type MysqlSlowLogList struct {
NodeId string `json:"node_id"`
Count string `json:"count"`
Time string `json:"time"`
LockTime string `json:"lock_time"`
RowsSent string `json:"rows_sent"`
RowsExamined string `json:"rows_examined"`
Database string `json:"database"`
Users string `json:"users"`
QuerySample string `json:"query_sample"`
Type string `json:"type"`
StartTime string `json:"start_time"`
ClientIp string `json:"client_ip"`
}
func ExtractSlowLogs ¶
func ExtractSlowLogs(r pagination.NewPage) ([]MysqlSlowLogList, error)
func GetSlowLogs ¶
func GetSlowLogs(client *golangsdk.ServiceClient, opts GetSlowLogsOpts) ([]MysqlSlowLogList, error)
type SlowLogPage ¶
type SlowLogPage struct {
pagination.NewSinglePageBase
}
Click to show internal directories.
Click to hide internal directories.