Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExportMetric ¶
func StartCronTask ¶
func StartCronTask()
func StartHttpServer ¶
func StartHttpServer(port int)
Types ¶
type DbLastKeywordDto ¶
type DbMonitorResultObj ¶
type DbMonitorResultObj struct { Name string `json:"name"` Endpoint string `json:"endpoint"` Server string `json:"server"` Port string `json:"port"` Value float64 `json:"value"` ServiceGroup string `json:"service_group"` KeywordGuid string `json:"keyword_guid"` KeywordCount int64 `json:"keyword_count"` Step int64 `json:"step"` }
type DbMonitorTaskObj ¶
type DbMonitorTaskObj struct { DbType string `json:"db_type"` Endpoint string `json:"endpoint"` Name string `json:"name"` Server string `json:"server"` Port string `json:"port"` User string `json:"user"` Password string `json:"password"` Sql string `json:"sql"` Step int64 `json:"step"` LastTime int64 `json:"last_time"` ServiceGroup string `json:"service_group"` Session *xorm.Engine `json:"session"` KeywordGuid string `json:"keyword_guid"` KeywordCount int64 `json:"keyword_count"` KeywordContent string `json:"keyword_content"` }
Click to show internal directories.
Click to hide internal directories.