|
|
|
@@ -456,7 +456,7 @@ CREATE TABLE `alert_cur_event` ( |
|
|
|
`annotations` text not null comment 'annotations', |
|
|
|
`rule_config` text not null comment 'annotations', |
|
|
|
`tags` varchar(1024) not null default '' comment 'merge data_tags rule_tags, split by ,,', |
|
|
|
`original_tags` varchar(1024) default '' comment 'labels key=val,,k2=v2', |
|
|
|
`original_tags` text comment 'labels key=val,,k2=v2', |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
KEY (`hash`), |
|
|
|
KEY (`rule_id`), |
|
|
|
@@ -496,7 +496,7 @@ CREATE TABLE `alert_his_event` ( |
|
|
|
`recover_time` bigint not null default 0, |
|
|
|
`last_eval_time` bigint not null default 0 comment 'for time filter', |
|
|
|
`tags` varchar(1024) not null default '' comment 'merge data_tags rule_tags, split by ,,', |
|
|
|
`original_tags` varchar(1024) default '' comment 'labels key=val,,k2=v2', |
|
|
|
`original_tags` text comment 'labels key=val,,k2=v2', |
|
|
|
`annotations` text not null comment 'annotations', |
|
|
|
`rule_config` text not null comment 'annotations', |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
|