Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var URL = "https://usage.deepflow.yunshan.net/api/v1/report"
Functions ¶
func SetServerInfo ¶
Types ¶
type AgentDataKey ¶
type ReportData ¶
type ReportData struct {
DFUUID string `json:"deepflowDeploymentUUID"`
ServerRevCount string `json:"serverRevCount"`
ServerCommitID string `json:"serverCommitId"`
ServerBranch string `json:"serverBranch"`
ReportTime string `json:"reportTime"`
ServerReplicas int64 `json:"serverReplicas"`
Agents []AgentData `json:"agents"`
}
type ReportServer ¶
type ReportServer struct {
ReportData
// contains filtered or unexported fields
}
func NewReportServer ¶
func NewReportServer(db *gorm.DB) *ReportServer
func (*ReportServer) StartReporting ¶
func (r *ReportServer) StartReporting()
Click to show internal directories.
Click to hide internal directories.