add preset metric_view

This commit is contained in:
Ulric Qin 2022-04-06 19:04:02 +08:00
parent 8abb04afde
commit d0efb206d9
1 changed files with 2 additions and 0 deletions

View File

@ -308,6 +308,8 @@ CREATE TABLE `metric_view` (
KEY (`create_by`)
) ENGINE=InnoDB DEFAULT CHARSET = utf8mb4;
insert into metric_view(name, cate, configs) values('Host View', 0, '{"filters":[{"oper":"=","label":"__name__","value":"cpu_usage_idle"}],"dynamicLabels":[],"dimensionLabel":{"label":"ident"}}');
CREATE TABLE `alert_aggr_view` (
`id` bigint unsigned not null auto_increment,
`name` varchar(191) not null default '',