CREATE STABLE IF NOT EXISTS alarm_log (`ts` TIMESTAMP,`alarm_value` DOUBLE ,`level` INT) TAGS (`tenant_id` BIGINT,`application_id` BIGINT,`indicator_id` BIGINT,`monitor_point_id` BIGINT,`alarm_key` NCHAR(20),`alarm_type` INT);

ALTER STABLE alarm_log ADD COLUMN `status` INT;

ALTER STABLE alarm_log ADD TAG `alarm_rule_id` BIGINT;

ALTER STABLE alarm_log ADD TAG `device_id` BIGINT;
