add preset metric_view
This commit is contained in:
parent
8abb04afde
commit
d0efb206d9
|
@ -308,6 +308,8 @@ CREATE TABLE `metric_view` (
|
||||||
KEY (`create_by`)
|
KEY (`create_by`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET = utf8mb4;
|
) 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` (
|
CREATE TABLE `alert_aggr_view` (
|
||||||
`id` bigint unsigned not null auto_increment,
|
`id` bigint unsigned not null auto_increment,
|
||||||
`name` varchar(191) not null default '',
|
`name` varchar(191) not null default '',
|
||||||
|
|
Loading…
Reference in New Issue