You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

alertrulemodel.go 627 B

123456789101112131415161718
  1. package models
  2. import (
  3. "database/sql"
  4. )
  5. type AlertRule struct {
  6. Id int64 `db:"id"` // id
  7. ClusterId int64 `db:"cluster_id"`
  8. Name string `db:"name"` // 节点名称
  9. AlertType string `db:"alert_type"` // 节点类型 int64 `db:"cpu_total"` // cpu核数
  10. PromQL string `db:"prom_ql"`
  11. Duration string `db:"duration"`
  12. AlertLevel string `db:"alert_level"`
  13. Annotations string `db:"annotations"`
  14. CreatedBy sql.NullInt64 `db:"created_by"` // 创建人
  15. UpdatedBy sql.NullInt64 `db:"updated_by"` // 更新人
  16. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.