Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateTables ¶
Types ¶
type AlertHisEvent ¶
type AlertHisEvent struct {
LastEvalTime int64 `gorm:"column:last_eval_time;bigint(20);not null;default:0;comment:for time filter;index:idx_last_eval_time"`
}
type AlertMute ¶
type AlertMute struct {
Severities string `gorm:"column:severities;type:varchar(32);not null;default:''"`
}
type AlertRule ¶
type AlertRule struct {
ExtraConfig string `gorm:"type:text;not null;column:extra_config"` // extra config
}
type AlertSubscribe ¶
type AlertingEngines ¶
type AlertingEngines struct {
EngineCluster string `gorm:"column:engine_cluster;type:varchar(128);default:'';comment:n9e engine cluster"`
}
type ChartShare ¶
type ChartShare struct {
}type EsIndexPattern ¶
type EsIndexPattern struct { Id int64 `gorm:"primaryKey;type:bigint unsigned"` DatasourceId int64 `gorm:"type:bigint not null default '0';uniqueIndex:idx_ds_name"` Name string `gorm:"type:varchar(191) not null default '';uniqueIndex:idx_ds_name"` TimeField string `gorm:"type:varchar(128) not null default ''"` AllowHideSystemIndices int `gorm:"type:tinyint(1) not null default 0"` FieldsFormat string `gorm:"type:varchar(4096) not null default ''"` CreateAt int64 `gorm:"type:bigint default '0'"` CreateBy string `gorm:"type:varchar(64) default ''"` UpdateAt int64 `gorm:"type:bigint default '0'"` UpdateBy string `gorm:"type:varchar(64) default ''"` }
type RecordingRule ¶
type Target ¶
type Target struct {
HostIp string `gorm:"column:host_ip;varchar(15);default:'';comment:IPv4 string;index:idx_host_ip""`
}
type TaskRecord ¶
type TaskRecord struct {
EventId int64 `gorm:"column:event_id;bigint(20);not null;default:0;comment:event id;index:idx_event_id"`
}
Click to show internal directories.
Click to hide internal directories.