实现基本的监控终端管理

This commit is contained in:
GoEdgeLab
2021-09-08 19:35:28 +08:00
parent 72826efbd1
commit b64e22466d
18 changed files with 2654 additions and 458 deletions

View File

@@ -0,0 +1,11 @@
package nodeconfigs
import "github.com/TeaOSLab/EdgeCommon/pkg/reporterconfigs"
// Connectivity 连通性状态
type Connectivity struct {
CostMs float64 `json:"costMs"` // 平均耗时
Level reporterconfigs.ReportLevel `json:"level"` // 级别
Percent float64 `json:"percent"` // 连通的百分比是一个0到100之间的小数
UpdatedAt int64 `json:"updatedAt"` // 更新时间
}