Documentation ¶
Index ¶
- Constants
- Variables
- func AllPaused() bool
- func InitKeeper()
- func QueryPaused() bool
- func RestRecordRequest(sql string) sqltype.SqlType
- func RestRecordResult(sqlType sqltype.SqlType, success bool)
- func StartMonitor()
- func StartUpload()
- func WSRecordRequest(sql string) sqltype.SqlType
- func WSRecordResult(sqlType sqltype.SqlType, success bool)
- type UploadData
Constants ¶
View Source
const ( NormalStatus = uint32(0) PauseStatus = uint32(1) )
View Source
const InsertStatement = "insert into"
Variables ¶
View Source
var ( RestTotal *metrics.Gauge RestQuery *metrics.Gauge RestWrite *metrics.Gauge RestOther *metrics.Gauge RestSuccess *metrics.Gauge RestQuerySuccess *metrics.Gauge RestWriteSuccess *metrics.Gauge RestOtherSuccess *metrics.Gauge RestFail *metrics.Gauge RestQueryFail *metrics.Gauge RestWriteFail *metrics.Gauge RestOtherFail *metrics.Gauge RestInProcess *metrics.Gauge RestQueryInProcess *metrics.Gauge RestWriteInProcess *metrics.Gauge RestOtherInProcess *metrics.Gauge )
rest
View Source
var ( WSTotal *metrics.Gauge WSQuery *metrics.Gauge WSWrite *metrics.Gauge WSOther *metrics.Gauge WSSuccess *metrics.Gauge WSQuerySuccess *metrics.Gauge WSWriteSuccess *metrics.Gauge WSOtherSuccess *metrics.Gauge WSFail *metrics.Gauge WSQueryFail *metrics.Gauge WSWriteFail *metrics.Gauge WSOtherFail *metrics.Gauge WSInProcess *metrics.Gauge WSQueryInProcess *metrics.Gauge WSWriteInProcess *metrics.Gauge WSOtherInProcess *metrics.Gauge )
Functions ¶
func InitKeeper ¶
func InitKeeper()
func QueryPaused ¶
func QueryPaused() bool
func RestRecordRequest ¶
func RestRecordResult ¶
func StartMonitor ¶
func StartMonitor()
func StartUpload ¶
func StartUpload()
func WSRecordRequest ¶
func WSRecordResult ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.