diff --git a/.erda/migrations/cmdb/20210528-cmdb-base.sql b/.erda/migrations/cmdb/20210528-cmdb-base.sql index fe189b5f856..c95265a3200 100644 --- a/.erda/migrations/cmdb/20210528-cmdb-base.sql +++ b/.erda/migrations/cmdb/20210528-cmdb-base.sql @@ -370,7 +370,7 @@ CREATE TABLE `dice_config_namespace_relation` PRIMARY KEY (`id`), UNIQUE KEY `namespace` (`namespace`), KEY `idx_default_namespace` (`default_namespace`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='配置项namespace关联表'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='配置项namespace关联表'; CREATE TABLE `dice_error_box` ( @@ -707,7 +707,7 @@ CREATE TABLE `dice_member` PRIMARY KEY (`id`), UNIQUE KEY `idx_unique_scope_type_id_user_id` (`scope_type`,`scope_id`,`user_id`), KEY `idx_user_id_org_id` (`user_id`,`org_id`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='成员信息'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='成员信息'; INSERT INTO `dice_member` (`id`, `scope_type`, `scope_id`, `scope_name`, `parent_id`, `org_id`, `project_id`, diff --git a/.erda/migrations/monitor/20210528-monitor-base.sql b/.erda/migrations/monitor/20210528-monitor-base.sql index f18968a58fc..95d77e9b2fa 100644 --- a/.erda/migrations/monitor/20210528-monitor-base.sql +++ b/.erda/migrations/monitor/20210528-monitor-base.sql @@ -140,7 +140,7 @@ CREATE TABLE `sp_dashboard_block` ( UNIQUE KEY `Scope` (`name`,`scope`,`scope_id`,`id`), UNIQUE KEY `ScopeID` (`name`,`scope`,`scope_id`,`id`), UNIQUE KEY `Name` (`name`,`scope`,`scope_id`,`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户配置的自定义大盘表'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户配置的自定义大盘表'; CREATE TABLE `sp_dashboard_block_system` ( `id` varchar(64) NOT NULL COMMENT '主键ID', @@ -159,7 +159,7 @@ CREATE TABLE `sp_dashboard_block_system` ( UNIQUE KEY `Scope` (`name`,`scope`,`scope_id`), UNIQUE KEY `ScopeID` (`name`,`scope`,`scope_id`), UNIQUE KEY `Name` (`name`,`scope`,`scope_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统内置的大盘配置表'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统内置的大盘配置表'; INSERT INTO `sp_dashboard_block_system` (`id`, `name`, `desc`, `domain`, `scope`, `scope_id`, `view_config`, `data_config`, `created_at`, `updated_at`, `version`) VALUES ('apim_client','API管理-客户端视角','客户端视角','','org','terminus','[{\"w\":8,\"h\":3,\"x\":0,\"y\":0,\"i\":\"view-c99ebac8\",\"view\":{\"title\":\"\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong\",\"query\":{\"alias_sum.succ_sum\":\"请求成功总和\",\"chartType\":\"card\",\"end\":1605077182581,\"format\":\"chartv2\",\"start\":1605073582581,\"sum\":[\"succ_sum\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"1\",\"metric\":\"agg_kong-succ_sum\"}],\"filters\":[{\"key\":\"1005\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"893\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"781\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"5\",\"method\":\"eq\",\"tag\":\"tags.csmr\",\"value\":\"{{client}}\"}],\"group\":[]}},\"controls\":null}},{\"w\":8,\"h\":3,\"x\":8,\"y\":0,\"i\":\"view-c5b66c0c\",\"view\":{\"title\":\"\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong\",\"query\":{\"alias_sum.err_sum\":\"请求出错总和\",\"chartType\":\"card\",\"end\":1605077182581,\"format\":\"chartv2\",\"start\":1605073582581,\"sum\":[\"err_sum\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"39\",\"metric\":\"agg_kong-err_sum\"}],\"filters\":[{\"key\":\"1485\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"1373\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"1261\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"1152\",\"method\":\"eq\",\"tag\":\"tags.csmr\",\"value\":\"{{client}}\"}],\"group\":[]}},\"controls\":null}},{\"w\":8,\"h\":3,\"x\":16,\"y\":0,\"i\":\"view-0978244c\",\"view\":{\"title\":\"\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong\",\"query\":{\"alias_avg.reql_mean\":\"请求延时平均值\",\"avg\":[\"reql_mean\"],\"chartType\":\"card\",\"end\":1605077182581,\"format\":\"chartv2\",\"start\":1605073582581},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"avg\",\"key\":\"154\",\"metric\":\"agg_kong-reql_mean\"}],\"filters\":[{\"key\":\"530\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"418\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"307\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"164\",\"method\":\"eq\",\"tag\":\"tags.csmr\",\"value\":\"{{client}}\"}],\"group\":[]}},\"controls\":null}},{\"w\":12,\"h\":9,\"x\":0,\"y\":3,\"i\":\"view-65868916\",\"view\":{\"title\":\"流量总览\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong/histogram\",\"query\":{\"alias_sum.err_sum\":\"请求出错总和\",\"alias_sum.lim_sum\":\"请求被限流总和\",\"alias_sum.succ_sum\":\"请求成功总和\",\"chartType\":\"chart:line\",\"end\":1605077182581,\"format\":\"chartv2\",\"start\":1605073582581,\"sum\":[\"succ_sum\",\"lim_sum\",\"err_sum\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"3391\",\"metric\":\"agg_kong-succ_sum\"},{\"aggregation\":\"sum\",\"key\":\"3361\",\"metric\":\"agg_kong-lim_sum\"},{\"aggregation\":\"sum\",\"key\":\"1656\",\"metric\":\"agg_kong-err_sum\"}],\"filters\":[{\"key\":\"1915\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"1838\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"1761\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"1669\",\"method\":\"eq\",\"tag\":\"tags.csmr\",\"value\":\"{{client}}\"}],\"group\":[]}},\"controls\":[{}]}},{\"w\":12,\"h\":9,\"x\":12,\"y\":3,\"i\":\"view-627169bc\",\"view\":{\"title\":\"平均时延\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong/histogram\",\"query\":{\"alias_avg.reql_mean\":\"请求延时平均值\",\"alias_avg.upl_mean\":\"后端服务延时平均值\",\"avg\":[\"upl_mean\",\"reql_mean\"],\"chartType\":\"chart:line\",\"end\":1605077182581,\"format\":\"chartv2\",\"start\":1605073582581},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"avg\",\"key\":\"2034\",\"metric\":\"agg_kong-upl_mean\"},{\"aggregation\":\"avg\",\"key\":\"2033\",\"metric\":\"agg_kong-reql_mean\"}],\"filters\":[{\"key\":\"2320\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"2243\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"2167\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"2073\",\"method\":\"eq\",\"tag\":\"tags.csmr\",\"value\":\"{{client}}\"}],\"group\":[]}},\"controls\":[{}]}},{\"w\":12,\"h\":10,\"x\":0,\"y\":12,\"i\":\"view-c327ff5b\",\"view\":{\"title\":\"响应状态码分布\",\"description\":\"\",\"chartType\":\"chart:pie\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong\",\"query\":{\"alias_last.tags.hts\":\"HTTP 状态码\",\"alias_sum.cnt_sum\":\"总调用量总和\",\"chartType\":\"chart:pie\",\"end\":1605077182581,\"format\":\"chartv2\",\"group\":\"(tags.hts)\",\"match_tags.hts\":\"*\",\"start\":1605073582581,\"sum\":[\"cnt_sum\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"2523\",\"metric\":\"agg_kong-cnt_sum\"}],\"filters\":[{\"key\":\"153\",\"method\":\"match\",\"tag\":\"tags.hts\",\"value\":\"*\"},{\"key\":\"2777\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"2700\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"2623\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"2533\",\"method\":\"eq\",\"tag\":\"tags.csmr\",\"value\":\"{{client}}\"}],\"group\":[\"tags.hts\"]}},\"controls\":null}},{\"w\":12,\"h\":10,\"x\":12,\"y\":12,\"i\":\"view-c49ffc2e\",\"view\":{\"title\":\"请求出错分类\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong/histogram\",\"query\":{\"alias_sum.cerr_sum\":\"客户端出错(4XX)总和\",\"alias_sum.serr_sum\":\"服务端出错(5XX)总和\",\"chartType\":\"chart:line\",\"end\":1605077182581,\"format\":\"chartv2\",\"start\":1605073582581,\"sum\":[\"serr_sum\",\"cerr_sum\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"2932\",\"metric\":\"agg_kong-serr_sum\"},{\"aggregation\":\"sum\",\"key\":\"2919\",\"metric\":\"agg_kong-cerr_sum\"}],\"filters\":[{\"key\":\"3215\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"3124\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"3048\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"2960\",\"method\":\"eq\",\"tag\":\"tags.csmr\",\"value\":\"{{client}}\"}],\"group\":[]}},\"controls\":[{}]}}]','[]','2020-10-29 20:02:25','2020-11-11 14:46:58',''),('apim_summary','API管理-流量概览','流量概览','','org','terminus','[{\"w\":8,\"h\":8,\"x\":0,\"y\":0,\"i\":\"view-5468ee74\",\"view\":{\"title\":\"调用量\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isLabel\":false,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong/histogram\",\"query\":{\"alias_last.tags.hts\":\"HTTP 状态码\",\"alias_sum.cnt_sum\":\"总调用量总和\",\"chartType\":\"chart:line\",\"end\":1605077486766,\"format\":\"chartv2\",\"group\":\"(tags.hts)\",\"match_tags.hts\":[\"*\"],\"start\":1605073886766,\"sum\":[\"cnt_sum\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"1\",\"metric\":\"agg_kong-cnt_sum\"}],\"filters\":[{\"key\":\"307\",\"method\":\"match\",\"tag\":\"tags.hts\",\"value\":\"*\"},{\"key\":\"75\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"14\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"5\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"}],\"group\":[\"tags.hts\"]}},\"controls\":[{}]}},{\"w\":8,\"h\":8,\"x\":16,\"y\":0,\"i\":\"view-6e99af1f\",\"view\":{\"title\":\"调用延时\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong/histogram\",\"query\":{\"alias_avg.reql_mean\":\"请求延时平均值\",\"alias_avg.upl_mean\":\"后端服务延时平均值\",\"avg\":[\"upl_mean\",\"reql_mean\"],\"chartType\":\"chart:line\",\"end\":1605077486766,\"format\":\"chartv2\",\"start\":1605073886766},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"avg\",\"key\":\"237\",\"metric\":\"agg_kong-upl_mean\"},{\"aggregation\":\"avg\",\"key\":\"236\",\"metric\":\"agg_kong-reql_mean\"}],\"filters\":[{\"key\":\"322\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"},{\"key\":\"290\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"245\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"}],\"group\":[]}},\"controls\":[{}]}},{\"w\":8,\"h\":8,\"x\":8,\"y\":0,\"i\":\"view-9147223e\",\"view\":{\"title\":\"客户端占比\",\"description\":\"\",\"chartType\":\"chart:pie\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/apim/metrics/agg_kong\",\"query\":{\"alias_last.tags.csmr\":\"客户端\",\"alias_sum.cnt_sum\":\"总调用量总和\",\"chartType\":\"chart:pie\",\"end\":1605077486766,\"format\":\"chartv2\",\"group\":\"(tags.csmr)\",\"match_tags.csmr\":\"*\",\"start\":1605073886766,\"sum\":[\"cnt_sum\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@agg_kong\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"207\",\"metric\":\"agg_kong-cnt_sum\"}],\"filters\":[{\"key\":\"12\",\"method\":\"match\",\"tag\":\"tags.csmr\",\"value\":\"*\"},{\"key\":\"160\",\"method\":\"eq\",\"tag\":\"tags.denv\",\"value\":\"{{workspace}}\"},{\"key\":\"128\",\"method\":\"eq\",\"tag\":\"tags.dpid\",\"value\":\"{{projectID}}\"},{\"key\":\"82\",\"method\":\"eq\",\"tag\":\"tags.pack\",\"value\":\"{{endpoint}}\"}],\"group\":[\"tags.csmr\"]}},\"controls\":null}}]','[]','2020-10-28 19:06:06','2020-11-11 14:52:58',''),('bug','缺陷统计','','','org','terminus','[{\"w\":12,\"h\":10,\"x\":0,\"y\":0,\"i\":\"view-f6623ce7\",\"view\":{\"title\":\"缺陷按状态分布\",\"description\":\"\",\"chartType\":\"chart:pie\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics\",\"query\":{\"alias_last.tags.issue_state\":\"issue_state\",\"alias_sum.counts\":\"counts总和\",\"chartType\":\"chart:pie\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\",\"trans_group\":\"true\",\"group\":\"(tags.issue_state)\",\"sum\":[\"counts\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"691\",\"metric\":\"issue_metrics_statistics-counts\"}],\"filters\":[{\"key\":\"9\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[\"tags.issue_state\"]}},\"controls\":null}},{\"w\":24,\"h\":9,\"x\":0,\"y\":10,\"i\":\"view-fd2ecfbe\",\"view\":{\"title\":\"缺陷新增 / 关闭趋势\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"noAreaColor\":true,\"moreThanOneDayFormat\":\"M/D\"},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_add_or_repair_metrics_statistics/histogram\",\"query\":{\"chartType\":\"chart:line\",\"interval\":\"24h\",\"format\":\"chartv2\",\"start\":\"${start}\",\"end\":\"${end}\",\"sum\":[\"bug_add_counts\",\"bug_repair_counts\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_add_or_repair_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"263\",\"metric\":\"issue_add_or_repair_metrics_statistics-bug_add_or_repair_counts\"}],\"filters\":[],\"group\":[\"tags.bug_add_or_repair_type\"]}},\"controls\":[{}]}},{\"w\":12,\"h\":10,\"x\":12,\"y\":0,\"i\":\"view-1e86c4a6\",\"view\":{\"title\":\"缺陷按严重等级分布\",\"description\":\"\",\"chartType\":\"chart:pie\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics\",\"query\":{\"alias_last.tags.issue_severity\":\"issue_severity\",\"alias_sum.counts\":\"counts总和\",\"chartType\":\"chart:pie\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\",\"trans_group\":\"true\",\"group\":\"(tags.issue_severity)\",\"sum\":[\"counts\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"459\",\"metric\":\"issue_metrics_statistics-counts\"}],\"filters\":[{\"key\":\"24\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[\"tags.issue_severity\"]}},\"controls\":null}},{\"w\":12,\"h\":5,\"x\":12,\"y\":37,\"i\":\"view-91fd7d1f\",\"view\":{\"title\":\"缺陷平均响应时间 (天)\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics\",\"query\":{\"alias_avg.issue_response_time\":\"issue_response_time平均值\",\"avg\":[\"issue_response_time\"],\"chartType\":\"card\",\"eq_tags.issue_state\":\"CLOSED\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\"},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"avg\",\"key\":\"604\",\"metric\":\"issue_metrics_statistics-issue_response_time\"}],\"filters\":[{\"key\":\"346\",\"method\":\"eq\",\"tag\":\"tags.issue_state\",\"value\":\"CLOSED\"},{\"key\":\"84\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[]}},\"controls\":null}},{\"w\":12,\"h\":5,\"x\":0,\"y\":37,\"i\":\"view-d8d99372\",\"view\":{\"title\":\"缺陷平均修复工作量(人天)\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics\",\"query\":{\"alias_avg.issue_elapsed_time\":\"issue_elapsed_time平均值\",\"avg\":[\"issue_elapsed_time\"],\"chartType\":\"card\",\"eq_tags.issue_state\":\"CLOSED\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\"},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"avg\",\"key\":\"308\",\"metric\":\"issue_metrics_statistics-issue_elapsed_time\"}],\"filters\":[{\"key\":\"269\",\"method\":\"eq\",\"tag\":\"tags.issue_state\",\"value\":\"CLOSED\"},{\"key\":\"191\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[]}},\"controls\":null}},{\"w\":24,\"h\":10,\"x\":0,\"y\":42,\"i\":\"view-8b1ee412\",\"view\":{\"title\":\"缺陷按优先级分布\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics/histogram\",\"query\":{\"alias_last.tags.issue_user_nick\":\"issue_user_nick\",\"alias_sum.counts\":\"counts总和\",\"alias_sum.not_close\":\"not_close总和\",\"chartType\":\"chart:bar\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\",\"limit\":1000,\"group\":\"(tags.issue_user_nick)\",\"sum\":[\"not_close\",\"counts\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"170\",\"metric\":\"issue_metrics_statistics-not_close\"},{\"aggregation\":\"sum\",\"key\":\"154\",\"metric\":\"issue_metrics_statistics-counts\"}],\"filters\":[{\"key\":\"269\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[\"tags.issue_user_nick\"]}},\"controls\":[{\"key\":\"eq_tags.issue_priority\",\"options\":[{\"name\":\"低\",\"value\":\"LOW\"},{\"name\":\"中\",\"value\":\"NORMAL\"},{\"name\":\"高\",\"value\":\"HIGH\"},{\"name\":\"紧急\",\"value\":\"URGENT\"}],\"type\":\"select\"}]}},{\"w\":24,\"h\":9,\"x\":0,\"y\":28,\"i\":\"view-a844c5b7\",\"view\":{\"title\":\"缺陷按重新打开分布\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics/histogram\",\"query\":{\"alias_last.tags.issue_user_nick\":\"issue_user_nick\",\"alias_sum.is_re_open_FATAL\":\"is_re_open_FATAL总和\",\"alias_sum.is_re_open_NORMAL\":\"is_re_open_NORMAL总和\",\"alias_sum.is_re_open_SERIOUS\":\"is_re_open_SERIOUS总和\",\"alias_sum.is_re_open_SLIGHT\":\"is_re_open_SLIGHT总和\",\"alias_sum.is_re_open_SUGGEST\":\"is_re_open_SUGGEST总和\",\"chartType\":\"chart:bar\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\",\"limit\":1000,\"group\":\"(tags.issue_user_nick)\",\"sum\":[\"is_re_open_SUGGEST\",\"is_re_open_SLIGHT\",\"is_re_open_SERIOUS\",\"is_re_open_NORMAL\",\"is_re_open_FATAL\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"1755\",\"metric\":\"issue_metrics_statistics-is_re_open_SUGGEST\"},{\"aggregation\":\"sum\",\"key\":\"1721\",\"metric\":\"issue_metrics_statistics-is_re_open_SLIGHT\"},{\"aggregation\":\"sum\",\"key\":\"1687\",\"metric\":\"issue_metrics_statistics-is_re_open_SERIOUS\"},{\"aggregation\":\"sum\",\"key\":\"1653\",\"metric\":\"issue_metrics_statistics-is_re_open_NORMAL\"},{\"aggregation\":\"sum\",\"key\":\"1637\",\"metric\":\"issue_metrics_statistics-is_re_open_FATAL\"}],\"filters\":[{\"key\":\"1871\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[\"tags.issue_user_nick\"]}},\"controls\":null}},{\"w\":24,\"h\":9,\"x\":0,\"y\":19,\"i\":\"view-7fb8a372\",\"view\":{\"title\":\"缺陷按人员分布\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics/histogram\",\"query\":{\"alias_last.tags.issue_user_nick\":\"issue_user_nick\",\"alias_sum.counts\":\"counts总和\",\"alias_sum.not_close\":\"not_close总和\",\"chartType\":\"chart:bar\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\",\"limit\":1000,\"group\":\"(tags.issue_user_nick)\",\"sum\":[\"not_close\",\"counts\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"645\",\"metric\":\"issue_metrics_statistics-not_close\"},{\"aggregation\":\"sum\",\"key\":\"635\",\"metric\":\"issue_metrics_statistics-counts\"}],\"filters\":[{\"key\":\"667\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[\"tags.issue_user_nick\"]}},\"controls\":[{\"key\":\"eq_tags.issue_severity\",\"options\":[{\"name\":\"建议\",\"value\":\"SUGGEST\"},{\"name\":\"轻微\",\"value\":\"SLIGHT\"},{\"name\":\"严重\",\"value\":\"SERIOUS\"},{\"name\":\"致命\",\"value\":\"FATAL\"},{\"name\":\"一般\",\"value\":\"NORMAL\"}],\"type\":\"select\"}]}}]','[]','2020-09-10 13:11:24','2020-09-10 13:27:18',''),('daily','运维日报模版','运维日报模版','','report','org','[{\"w\":8,\"h\":3,\"x\":0,\"y\":4,\"i\":\"d11\",\"view\":{\"title\":\"异常机器\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.host_ip\",\"end\":\"now\",\"filter_alert_type\":\"machine\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"format\":\"chartv2\",\"start\":\"before_24h\"},\"body\":{},\"header\":{}}}},{\"w\":8,\"h\":3,\"x\":8,\"y\":4,\"i\":\"d12\",\"view\":{\"title\":\"异常服务\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"align\":false,\"cardinality\":\"(tags.runtime_id,tags.service_name)\",\"end\":\"now\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"format\":\"chartv2\",\"match_alert_type\":\"app_*\",\"start\":\"before_24h\"},\"body\":{},\"header\":{}}}},{\"w\":8,\"h\":3,\"x\":16,\"y\":4,\"i\":\"d13\",\"view\":{\"title\":\"异常Addons\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.addon_id\",\"end\":\"now\",\"filter_alert_type\":\"addon\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"format\":\"chartv2\",\"start\":\"before_24h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":7,\"i\":\"d21\",\"view\":{\"title\":\"告警类别分析\",\"description\":\"\",\"chartType\":\"chart:pie\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"align\":false,\"count\":\"((return doc.containsKey(\'tags.alert_name\')?doc[\'tags.alert_name\'].value:doc[\'tags.alert_index\'].value))\",\"end\":\"now\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"format\":\"chartv2\",\"group\":\"((doc.containsKey(\'tags.alert_name\')?doc[\'tags.alert_name\'].value:doc[\'tags.alert_index\'].value))\",\"start\":\"before_24h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":17,\"i\":\"d31\",\"view\":{\"title\":\"机器异常持续时间\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource/histogram\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_alert_type\":\"machine\",\"filter_dice_org_id\":\"\",\"limit\":10,\"points\":\"7\",\"sort\":\"sum_fields.trigger_duration\",\"start\":\"before_24h\",\"sum\":\"fields.trigger_duration\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":31,\"i\":\"d41\",\"view\":{\"title\":\"机器平均负载 Top10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"avg\":\"load5\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"host_ip\",\"last\":\"tags.host_ip\",\"limit\":10,\"sort\":\"avg_load5\",\"start\":\"before_24h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":45,\"i\":\"d51\",\"view\":{\"title\":\"机器磁盘使用 Top10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"host_ip\",\"last\":\"tags.host_ip\",\"limit\":10,\"max\":\"disk_used\",\"sort\":\"max_disk_used\",\"start\":\"before_24h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":59,\"i\":\"d61\",\"view\":{\"title\":\"服务OOM次数 Top10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/service_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.container_id\",\"end\":\"now\",\"field_eq_oomkilled\":\"b:true\",\"filter_instance_type\":\"service\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"service_id\",\"last\":[\"tags.service_name\",\"tags.project_name\",\"tags.application_name\"],\"limit\":10,\"sort\":\"cardinality_tags.container_id\",\"start\":\"before_24h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":73,\"i\":\"d71\",\"view\":{\"title\":\"应用JVM告警次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"start\":\"before_24h\",\"end\":\"now\",\"format\":\"chartv2\",\"filter_dice_org_id\":\"\",\"filter_alert_type\":\"app_resource\",\"match_alert_index\":\"*jvm*\",\"align\":false,\"group\":\"tags.application_id\",\"count\":[\"fields.count_sum\",\"fields.time_sum\",\"fields.usage_percent_avg\"],\"last\":[\"tags.application_name\",\"tags.service_name\",\"tags.project_name\"],\"limit\":10,\"sort\":\"count_fields.usage_percent_avg\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":87,\"i\":\"d81\",\"view\":{\"title\":\"应用CPU告警次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"start\":\"before_24h\",\"end\":\"now\",\"format\":\"chartv2\",\"filter_dice_org_id\":\"\",\"filter_alert_type\":\"app_resource\",\"match_alert_index\":\"app_resource_container_cpu\",\"align\":false,\"group\":\"tags.application_id\",\"count\":\"fields.allocation_value\",\"last\":[\"tags.application_name\",\"tags.service_name\",\"tags.project_name\"],\"limit\":10,\"sort\":\"count_fields.allocation_value\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":101,\"i\":\"d91\",\"view\":{\"title\":\"应用错误次数 Top10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/error_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"format\":\"chartv2\",\"group\":\"(service_name,runtime_id)\",\"last\":[\"tags.service_name\",\"tags.application_name\",\"tags.project_name\"],\"limit\":10,\"sort\":\"sum_count\",\"start\":\"before_24h\",\"sum\":\"count\",\"filter_org_name\":\"\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":115,\"i\":\"d101\",\"view\":{\"title\":\"应用慢事务次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"api\":{\"url\":\"/api/metrics/app_http_slow_resource\",\"query\":{\"start\":\"before_24h\",\"end\":\"now\",\"align\":false,\"format\":\"chartv2\",\"sort\":\"count_fields.elapsed_count\",\"group\":\"target_application_id\",\"limit\":10,\"count\":\"elapsed_count\",\"last\":[\"tags.target_application_name\",\"tags.target_service_name\",\"tags.target_project_name\"],\"filter_org_name\":\"\"},\"body\":{},\"method\":\"GET\",\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":129,\"i\":\"d111\",\"view\":{\"title\":\"应用SQL慢查询次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/app_db_resource\",\"query\":{\"start\":\"before_24h\",\"end\":\"now\",\"format\":\"chartv2\",\"filter_org_name\":\"\",\"align\":false,\"group\":\"tags.source_application_id\",\"count\":\"elapsed_count\",\"last\":[\"tags.source_application_name\",\"tags.source_service_name\",\"tags.source_project_name\"],\"limit\":10,\"sort\":\"count_elapsed_count\"},\"body\":{},\"header\":{}}}}]',NULL,'2020-06-13 18:19:14','2021-05-28 11:55:06',''),('exception_analysis','exception_analysis','',NULL,'micro_service','global','[{\"h\":10,\"i\":\"view-1qwUXZqM\",\"view\":{\"api\":{\"body\":{\"from\":[\"error_count\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typejp0SuUOW\",\"expr\":\"time()\"},{\"alias\":\"value7sFuzU7F\",\"expr\":\"round_float(sum(count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_exception\":\"{{exceptionType}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:bar\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"error_count\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typejp0SuUOW\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"次数\",\"field\":\"error_count-count::field\",\"key\":\"value7sFuzU7F\",\"resultType\":\"number\",\"type\":\"field\"}]}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"异常趋势\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":10,\"i\":\"view-7LXO3tsG\",\"view\":{\"api\":{\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"exceptionType\":\"{{exceptionType}}\",\"limit\":\"{{limit}}\",\"serviceId\":\"{{serviceId}}\",\"serviceName\":\"{{serviceName}}\",\"sort\":\"{{sort}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/exception/message\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"alias\":\"实例 ID\",\"key\":\"instance_id\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"异常类型\",\"key\":\"exception_type\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"Class\",\"key\":\"class\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"Method\",\"key\":\"method\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"异常消息\",\"key\":\"message\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"时间\",\"key\":\"time\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"次数\",\"key\":\"count\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"异常列表\"},\"w\":24,\"x\":0,\"y\":10}]',NULL,NULL,NULL,'v2'),('global_overview','global_overview','',NULL,'micro_service','global','[{\"h\":4,\"i\":\"view-global-micro_service_overview\",\"view\":{\"api\":{\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"scope\":\"micro_service\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/overview\"},\"chartType\":\"card\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"alias\":\"服务\",\"key\":\"service_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"运行实例\",\"key\":\"service_running_instance_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"错误请求\",\"key\":\"service_error_req_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"服务异常\",\"key\":\"service_exception_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"告警次数\",\"key\":\"alert_count\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false}},\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"全局概览\"},\"w\":24,\"x\":0,\"y\":0}]',NULL,NULL,NULL,'v2'),('global_request','global_request','',NULL,'micro_service','global','[{\"h\":7,\"i\":\"view-rsjAvNf9\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http_service\",\"application_db_service\",\"application_rpc_service\",\"application_mq_service\",\"application_cache_service\"],\"groupby\":[\"target_service_name::tag\"],\"limit\":3,\"orderby\":[{\"dir\":\"DESC\",\"expr\":\"sum(count_sum::field)\"}],\"select\":[{\"alias\":\"typeLkQi9B9p\",\"expr\":\"target_service_name::tag\"},{\"alias\":\"valueCLP0s7v0\",\"expr\":\"round_float(sum(count_sum::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http_service\"],\"limit\":3,\"typeDimensions\":[{\"alias\":\"服务\",\"key\":\"typeLkQi9B9p\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"次数\",\"key\":\"valueCLP0s7v0\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"请求事务 TOP 3\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":7,\"i\":\"view-ou4ssGmm\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http_error\",\"application_db_error\",\"application_rpc_error\",\"application_mq_error\",\"application_cache_error\"],\"groupby\":[\"target_service_name::tag\"],\"limit\":3,\"orderby\":[{\"dir\":\"DESC\",\"expr\":\"sum(elapsed_count::field)\"}],\"select\":[{\"alias\":\"typeA8qIXdnz\",\"expr\":\"target_service_name::tag\"},{\"alias\":\"valueb3jOhFB8\",\"expr\":\"round_float(sum(elapsed_count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http_error\"],\"limit\":3,\"sortDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"key\":\"sortJR0cQzZ8\",\"resultType\":\"number\",\"sort\":\"DESC\",\"type\":\"sort\"}],\"typeDimensions\":[{\"alias\":\"服务\",\"key\":\"typeA8qIXdnz\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"alias\":\"次数\",\"key\":\"valueb3jOhFB8\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"错误请求 TOP 3\"},\"w\":24,\"x\":0,\"y\":8},{\"h\":7,\"i\":\"view-yYMtijHa\",\"view\":{\"api\":{\"body\":{\"from\":[\"error_count\"],\"groupby\":[\"service_name::tag\"],\"limit\":3,\"orderby\":[{\"dir\":\"DESC\",\"expr\":\"sum(count::field)\"}],\"select\":[{\"alias\":\"typegNGz17tG\",\"expr\":\"service_name::tag\"},{\"alias\":\"value33vjO49J\",\"expr\":\"round_float(sum(count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"error_count\"],\"limit\":3,\"sortDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"field\":\"error_count-count::field\",\"key\":\"sortwjwBN97R\",\"resultType\":\"number\",\"sort\":\"DESC\",\"type\":\"sort\"}],\"typeDimensions\":[{\"alias\":\"服务\",\"field\":\"error_count-service_name::tag\",\"key\":\"typegNGz17tG\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"次数\",\"field\":\"error_count-count::field\",\"key\":\"value33vjO49J\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务异常 TOP 3\"},\"w\":24,\"x\":0,\"y\":17}]',NULL,NULL,NULL,'v2'),('organization_cluster_status','organization_cluster_status','',NULL,'micro_service','global','[{\"h\":9,\"i\":\"view-JOhL0CXv\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"format\":\"chartv2\",\"q\":\"SELECT component_name::tag as component, map(max(health_status::field), 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') as status, message::tag as message FROM leaf_component_status WHERE component_group::tag = \'dice_component\' AND cluster_name::tag = \'{{clusterName}}\' GROUP BY component_name::tag ORDER BY max(health_status::field) DESC \",\"ql\":\"influxql\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/orgCenter/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"other\",\"other@leaf_component_status\"],\"customTime\":\"5min\",\"isSqlMode\":true,\"resultFilters\":[{\"alias\":\"component_group\",\"field\":\"leaf_component_status-component_group::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"dice_component\"},\"key\":\"filterXEKejEbT\",\"resultType\":\"string\",\"type\":\"filter\"}],\"sortDimensions\":[{\"aggregation\":\"max\",\"alias\":\"health_status\",\"field\":\"leaf_component_status-health_status::field\",\"key\":\"sortTzIkS6lj\",\"resultType\":\"number\",\"sort\":\"DESC\",\"type\":\"sort\"}],\"sql\":{\"from\":\"leaf_component_status\",\"fromSource\":[\"other\",\"other@leaf_component_status\"],\"groupBy\":\"component_name::tag\",\"orderBy\":\"max(health_status::field) DESC\",\"select\":\"component_name::tag as component, map(max(health_status::field), 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') as status, message::tag as message \",\"where\":\"component_group::tag = \'dice_component\' AND cluster_name::tag = \'{{clusterName}}\' \"},\"typeDimensions\":[{\"alias\":\"component_name\",\"field\":\"leaf_component_status-component_name::tag\",\"key\":\"typeCMRAY4es\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"alias\":\"health_status\",\"field\":\"leaf_component_status-health_status::field\",\"key\":\"valuezllYIcc7\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"message\",\"field\":\"leaf_component_status-message::tag\",\"key\":\"valueQ4n5l9uh\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"集群组件状态\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":9,\"i\":\"view-G4LpQfk7\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"format\":\"chartv2\",\"q\":\"SELECT component_name::tag as component, map(max(health_status::field), 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') as status, message::tag as message FROM leaf_component_status WHERE component_group::tag = \'machine\' AND cluster_name::tag = \'{{clusterName}}\' GROUP BY component_name::tag \",\"ql\":\"influxql\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/orgCenter/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"other\",\"other@leaf_component_status\"],\"customTime\":\"5min\",\"isSqlMode\":true,\"resultFilters\":[{\"alias\":\"component_group\",\"field\":\"leaf_component_status-component_group::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"machine\"},\"key\":\"filterQvEuKUkB\",\"resultType\":\"string\",\"type\":\"filter\"}],\"sortDimensions\":[{\"aggregation\":\"max\",\"alias\":\"health_status\",\"field\":\"leaf_component_status-health_status::field\",\"key\":\"sort738b838Z\",\"resultType\":\"number\",\"sort\":\"DESC\",\"type\":\"sort\"}],\"sql\":{\"from\":\"leaf_component_status\",\"fromSource\":[\"other\",\"other@leaf_component_status\"],\"groupBy\":\"component_name::tag\",\"select\":\"component_name::tag as component, map(max(health_status::field), 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') as status, message::tag as message \",\"where\":\"component_group::tag = \'machine\' AND cluster_name::tag = \'{{clusterName}}\' \"},\"typeDimensions\":[{\"alias\":\"component_name\",\"field\":\"leaf_component_status-component_name::tag\",\"key\":\"type5AKxHUDZ\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"aggregation\":\"max\",\"alias\":\"health_status\",\"field\":\"leaf_component_status-health_status::field\",\"key\":\"valueAdJeTWFE\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"message\",\"field\":\"leaf_component_status-message::tag\",\"key\":\"valuen746dfKr\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"集群节点状态\"},\"w\":24,\"x\":0,\"y\":9},{\"h\":9,\"i\":\"view-Ecrdq0jI\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"format\":\"chartv2\",\"q\":\"SELECT component_name::tag as component, map(health_status::field, 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') AS status, message::tag as message FROM leaf_component_status WHERE component_group::tag = \'kubernetes\' AND cluster_name::tag = \'{{clusterName}}\' GROUP BY component_name::tag ORDER BY max(health_status::field) DESC \",\"ql\":\"influxql\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/orgCenter/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"customTime\":\"5min\",\"isSqlMode\":true,\"sql\":{\"from\":\"leaf_component_status\",\"fromSource\":[\"other\",\"other@leaf_component_status\"],\"groupBy\":\"component_name::tag\",\"orderBy\":\"max(health_status::field) DESC\",\"select\":\"component_name::tag as component, map(health_status::field, 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') AS status, message::tag as message \",\"where\":\"component_group::tag = \'kubernetes\' AND cluster_name::tag = \'{{clusterName}}\' \"}},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"kubernetes状态\"},\"w\":24,\"x\":0,\"y\":18},{\"h\":9,\"i\":\"view-tgogQI1P\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"format\":\"chartv2\",\"q\":\"SELECT component_name::tag as component, map(health_status::field, 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') AS status, message::tag as message FROM leaf_component_status WHERE component_group::tag = \'dice_addon\' AND cluster_name::tag = \'{{clusterName}}\' GROUP BY component_name::tag ORDER BY max(health_status::field) DESC \",\"ql\":\"influxql\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/orgCenter/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"customTime\":\"5min\",\"isSqlMode\":true,\"sql\":{\"from\":\"leaf_component_status\",\"fromSource\":[\"other\",\"other@leaf_component_status\"],\"groupBy\":\"component_name::tag\",\"orderBy\":\"max(health_status::field) DESC\",\"select\":\"component_name::tag as component, map(health_status::field, 0,\'健康\',1,\'警告\',2,\'故障\',3,\'严重故障\') AS status, message::tag as message \",\"where\":\"component_group::tag = \'dice_addon\' AND cluster_name::tag = \'{{clusterName}}\' \"}},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"集群中间件状态\"},\"w\":24,\"x\":0,\"y\":27}]',NULL,NULL,NULL,'v2'),('process_analysis_java','process_analysis_java','',NULL,'micro_service','global','[{\"h\":10,\"i\":\"view-gsdGSmsE\",\"view\":{\"api\":{\"body\":{\"from\":[\"docker_container_summary\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeoQEtA1Qu\",\"expr\":\"time()\"},{\"alias\":\"valuea5DMGiam\",\"expr\":\"avg(cpu_usage_percent::field)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"docker_container_summary\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeoQEtA1Qu\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"core\",\"key\":\"valuea5DMGiam\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"容器CPU\"},\"w\":12,\"x\":0,\"y\":0},{\"h\":10,\"i\":\"view-Vk0NhIvt\",\"view\":{\"api\":{\"body\":{\"from\":[\"docker_container_summary\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeSf2rck4P\",\"expr\":\"time()\"},{\"alias\":\"valuektRpqNyO\",\"expr\":\"round_float(avg(mem_limit::field), 2)\"},{\"alias\":\"value9IeT8Ivv\",\"expr\":\"round_float(avg(mem_usage::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"other\",\"other@docker_container_summary\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeSf2rck4P\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"最大值\",\"field\":\"docker_container_summary-mem_limit::field\",\"key\":\"valuektRpqNyO\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"CAPACITY\",\"unit\":\"B\"}},{\"alias\":\"已使用\",\"field\":\"docker_container_summary-mem_usage::field\",\"key\":\"value9IeT8Ivv\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"CAPACITY\",\"unit\":\"B\"}}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"容器内存\"},\"w\":12,\"x\":12,\"y\":0},{\"h\":10,\"i\":\"view-U78akBad\",\"view\":{\"api\":{\"body\":{\"from\":[\"jvm_memory\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeIt2X6865\",\"expr\":\"time()\"},{\"alias\":\"valueKRHMRLK2\",\"expr\":\"round_float(avg(used::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"eq_name\":\"heap_memory\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_jvm\",\"application_jvm_memory\",\"application_jvm_memory_heap\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeIt2X6865\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"已使用\",\"field\":\"jvm_memory-used::field\",\"key\":\"valueKRHMRLK2\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"CAPACITY\",\"unit\":\"B\"}}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Heap Memory Usage\"},\"w\":12,\"x\":0,\"y\":10},{\"h\":10,\"i\":\"view-lgddxxPr\",\"view\":{\"api\":{\"body\":{\"from\":[\"jvm_memory\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeM0DAUMLM\",\"expr\":\"time()\"},{\"alias\":\"value8nx5VIig\",\"expr\":\"round_float(avg(used::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"eq_name\":\"non_heap_memory\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_jvm\",\"application_jvm_memory\",\"application_jvm_memory_non_heap\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeM0DAUMLM\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"已使用\",\"field\":\"jvm_memory-used::field\",\"key\":\"value8nx5VIig\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"CAPACITY\",\"unit\":\"B\"}}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Non Heap Memory Usage\"},\"w\":12,\"x\":12,\"y\":10},{\"h\":10,\"i\":\"view-246IruiQ\",\"view\":{\"api\":{\"body\":{\"from\":[\"jvm_memory\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typePnIyzrBO\",\"expr\":\"time()\"},{\"alias\":\"valueIXILX6JH\",\"expr\":\"round_float(avg(used::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"match_name\":\"*_eden_space\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_jvm\",\"application_jvm_memory\",\"application_jvm_memory_ps_eden_space\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typePnIyzrBO\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"已使用\",\"field\":\"jvm_memory-used::field\",\"key\":\"valueIXILX6JH\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"CAPACITY\",\"unit\":\"B\"}}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Eden Space\"},\"w\":8,\"x\":0,\"y\":20},{\"h\":10,\"i\":\"view-AzNTzbgm\",\"view\":{\"api\":{\"body\":{\"from\":[\"jvm_memory\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeqDJ0hjqO\",\"expr\":\"time()\"},{\"alias\":\"valueNQr0xQ5n\",\"expr\":\"round_float(avg(used::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"match_name\":\"*_old_gen\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_jvm\",\"application_jvm_memory\",\"application_jvm_memory_ps_old_gen\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeqDJ0hjqO\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"已使用\",\"field\":\"jvm_memory-used::field\",\"key\":\"valueNQr0xQ5n\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"CAPACITY\",\"unit\":\"B\"}}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Old Gen\"},\"w\":8,\"x\":8,\"y\":20},{\"h\":10,\"i\":\"view-gXyQwxmE\",\"view\":{\"api\":{\"body\":{\"from\":[\"jvm_memory\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeWqvqa3pT\",\"expr\":\"time()\"},{\"alias\":\"value8pbaaXGT\",\"expr\":\"round_float(avg(used::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"match_name\":\"*_survivor_space\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_jvm\",\"application_jvm_memory\",\"application_jvm_memory_ps_surv_space\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeWqvqa3pT\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"已使用\",\"field\":\"jvm_memory-used::field\",\"key\":\"value8pbaaXGT\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"CAPACITY\",\"unit\":\"B\"}}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Survivor Space\"},\"w\":8,\"x\":16,\"y\":20},{\"h\":10,\"i\":\"view-BMxjOM9K\",\"view\":{\"api\":{\"body\":{\"from\":[\"jvm_class_loader\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typefmoF7423\",\"expr\":\"time()\"},{\"alias\":\"value9xCtZWjF\",\"expr\":\"round_float(avg(loaded::field), 2)\"},{\"alias\":\"unloaded\",\"expr\":\"round_float(avg(unloaded::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"jvm_class_loader\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typefmoF7423\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"loaded\",\"key\":\"value9xCtZWjF\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"unloaded\",\"key\":\"unloaded\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Class Count\"},\"w\":12,\"x\":0,\"y\":30},{\"h\":10,\"i\":\"view-xRTxHcRk\",\"view\":{\"api\":{\"body\":{\"from\":[\"jvm_thread\"],\"groupby\":[\"time()\",\"name::tag\"],\"select\":[{\"alias\":\"typee8m4zICn\",\"expr\":\"time()\"},{\"alias\":\"typeQ4CnDlec\",\"expr\":\"name::tag\"},{\"alias\":\"valuerNVC3hQN\",\"expr\":\"round_float(avg(state::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_jvm\",\"application_jvm_thread\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typee8m4zICn\",\"type\":\"time\"},{\"alias\":\"名称\",\"field\":\"jvm_thread-name::tag\",\"key\":\"typeQ4CnDlec\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"aggregation\":\"count\",\"alias\":\"State\",\"field\":\"jvm_thread-state::field\",\"key\":\"valuerNVC3hQN\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"JVM Thread\"},\"w\":12,\"x\":12,\"y\":30},{\"h\":10,\"i\":\"view-VBpDgZEB\",\"view\":{\"api\":{\"body\":{\"from\":[\"docker_container_summary\"],\"groupby\":[\"time()\"],\"limit\":1,\"select\":[{\"alias\":\"typefJayqUa2\",\"expr\":\"time()\"},{\"alias\":\"valuevcb3aWnu\",\"expr\":\"round_float(avg(blk_reads::field), 2)\"},{\"alias\":\"value5hQ0Ce2S\",\"expr\":\"round_float(avg(blk_writes::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"docker_container_summary\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typefJayqUa2\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"读取\",\"key\":\"valuevcb3aWnu\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TRAFFIC\",\"unit\":\"B/S\"}},{\"alias\":\"写入\",\"key\":\"value5hQ0Ce2S\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TRAFFIC\",\"unit\":\"B/S\"}}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"磁盘IO\"},\"w\":12,\"x\":0,\"y\":40},{\"h\":10,\"i\":\"view-5zpoQd6g\",\"view\":{\"api\":{\"body\":{\"from\":[\"docker_container_summary\"],\"groupby\":[\"time(1m)\"],\"select\":[{\"alias\":\"typefJayqUa1\",\"expr\":\"time()\"},{\"alias\":\"valuex5rrfADW\",\"expr\":\"round_float(avg(rx_bytes::field)/60, 2)\"},{\"alias\":\"valueezORvCqz\",\"expr\":\"round_float(avg(tx_bytes::field)/60, 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"docker_container_summary\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typefJayqUa1\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"接收\",\"key\":\"valuex5rrfADW\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TRAFFIC\",\"unit\":\"B/S\"}},{\"alias\":\"发送\",\"key\":\"valueezORvCqz\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TRAFFIC\",\"unit\":\"B/S\"}}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"容器网络\"},\"w\":12,\"x\":12,\"y\":40}]',NULL,NULL,NULL,'v2'),('process_analysis_nodejs','process_analysis_nodejs','',NULL,'micro_service','global','[{\"h\":10,\"i\":\"view-hfpm2BQF\",\"view\":{\"api\":{\"body\":{\"from\":[\"nodejs_memory\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typemiYT3xEp\",\"expr\":\"time()\"},{\"alias\":\"value4luY4MgI\",\"expr\":\"round_float(avg(heap_used::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"nodejs_memory\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typemiYT3xEp\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"Usage\",\"key\":\"value4luY4MgI\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"Heap Memory Usage\"},\"w\":12,\"x\":0,\"y\":0},{\"h\":10,\"i\":\"view-2afmeXcs\",\"view\":{\"api\":{\"body\":{\"from\":[\"nodejs_memory\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeCTERAG2L\",\"expr\":\"time()\"},{\"alias\":\"value2zRwbFet\",\"expr\":\"round_float(avg(external::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"nodejs_memory\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeCTERAG2L\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"MB\",\"key\":\"value2zRwbFet\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"Non Heap Memory Usage\"},\"w\":12,\"x\":12,\"y\":0},{\"h\":9,\"i\":\"view-0JahfhFo\",\"view\":{\"api\":{\"body\":{\"from\":[\"nodejs_cluster\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeTDo594ut\",\"expr\":\"time()\"},{\"alias\":\"valueogVBbdfi\",\"expr\":\"round_float(sum(count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"nodejs_cluster\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeTDo594ut\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"次数\",\"key\":\"valueogVBbdfi\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Cluster Count\"},\"w\":12,\"x\":0,\"y\":10},{\"h\":9,\"i\":\"view-kKuIcxbz\",\"view\":{\"api\":{\"body\":{\"from\":[\"nodejs_async_resource\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typezZSh0it6\",\"expr\":\"time()\"},{\"alias\":\"valueK4VKq3YC\",\"expr\":\"round_float(sum(count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_service_id\":\"{{serviceId}}\",\"filter_service_instance_id\":\"{{instanceId}}\",\"filter_service_name\":\"{{serviceName}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"nodejs_async_resource\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typezZSh0it6\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"次数\",\"key\":\"valueK4VKq3YC\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"Async Resources\"},\"w\":12,\"x\":12,\"y\":10}]',NULL,NULL,NULL,'v2'),('services','services','',NULL,'micro_service','global','[{\"h\":9,\"i\":\"view-4EaRR6U6\",\"view\":{\"api\":{\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/services\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"服务名称\",\"key\":\"service_name\",\"resultType\":\"string\",\"type\":\"field\"},{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"key\":\"req_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"请求错误数\",\"key\":\"req_error_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"aggregation\":\"avg\",\"alias\":\"平均延迟(ms)\",\"key\":\"avg_req_time\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"运行实例数\",\"key\":\"running_stopped_instance_count\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"jumpToDetail\",\"value\":\"service_name\"}}},\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"服务列表\"},\"w\":24,\"x\":0,\"y\":0}]',NULL,NULL,NULL,'v2'),('service_analysis','service_analysis','',NULL,'micro_service','global','[{\"h\":12,\"i\":\"view-yJsgVtEN\",\"view\":{\"api\":{\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"serviceId\":\"{{serviceId}}\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/service/instances\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_service_node\"],\"limit\":50,\"valueDimensions\":[{\"alias\":\"实例 ID\",\"key\":\"serviceInstanceId\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"运行时版本\",\"key\":\"platformVersion\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"启动时间\",\"key\":\"startTime\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"最后心跳时间\",\"key\":\"lastHeartbeatTime\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"状态\",\"key\":\"instanceState\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"YYYY/MM/DD\",\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务实例\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":10,\"i\":\"view-WlIYS74f\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeTRtdbCxL\",\"expr\":\"time()\"},{\"alias\":\"valueEOWkNhFW\",\"expr\":\"round_float(sum(elapsed_count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_application_id\":\"{{applicationId}}\",\"filter_target_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeTRtdbCxL\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求量\",\"field\":\"application_http-elapsed_count::field\",\"key\":\"valueEOWkNhFW\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"接口请求量\"},\"w\":12,\"x\":0,\"y\":24},{\"h\":10,\"i\":\"view-NDNpI1k5\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeCHGOKy9u\",\"expr\":\"time()\"},{\"alias\":\"valueA3dJ0k10\",\"expr\":\"sum(elapsed_sum::field)/sum(elapsed_count::field)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_application_id\":\"{{applicationId}}\",\"filter_target_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeCHGOKy9u\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"平均延迟(ms)\",\"expr\":\"sum(elapsed_sum::field)/sum(elapsed_count::field)\",\"key\":\"valueA3dJ0k10\",\"type\":\"expr\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true,\"nullDisplay\":0}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"请求延迟\"},\"w\":12,\"x\":12,\"y\":24},{\"h\":9,\"i\":\"view-gHh8GdKx\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\",\"http_status_code::tag\"],\"select\":[{\"alias\":\"type269Zbamy\",\"expr\":\"time()\"},{\"alias\":\"typeBng48cgD\",\"expr\":\"http_status_code::tag\"},{\"alias\":\"valueGRdav3nr\",\"expr\":\"round_float(sum(elapsed_count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_application_id\":\"{{applicationId}}\",\"filter_target_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type269Zbamy\",\"type\":\"time\"},{\"alias\":\"HTTP状态码\",\"field\":\"application_http-http_status_code::tag\",\"key\":\"typeBng48cgD\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求量\",\"field\":\"application_http-elapsed_count::field\",\"key\":\"valueGRdav3nr\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"HTTP 状态\"},\"w\":12,\"x\":0,\"y\":34},{\"h\":9,\"i\":\"view-FOwzRMTP\",\"view\":{\"api\":{\"body\":{\"from\":[\"error_count\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeJKRnc75E\",\"expr\":\"time()\"},{\"alias\":\"valueXTEB69H8\",\"expr\":\"round_float(sum(count::field), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter_application_id\":\"{{applicationId}}\",\"filter_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"error_count\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeJKRnc75E\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"次数\",\"key\":\"valueXTEB69H8\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务异常\"},\"w\":12,\"x\":12,\"y\":34},{\"h\":12,\"i\":\"view-NsSwxxe0\",\"view\":{\"api\":{\"body\":{\"from\":[\"analyzer_alert\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"type441teal6\",\"expr\":\"time()\"},{\"alias\":\"valueynJmzYoH\",\"expr\":\"round_float(count(terminus_key::tag), 2)\"}]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter_application_id\":\"{{applicationId}}\",\"filter_service_name\":\"{{serviceName}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:bar\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"analyzer_alert\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type441teal6\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"次数\",\"key\":\"valueynJmzYoH\",\"resultType\":\"number\",\"type\":\"field\"}]}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"服务告警事件\"},\"w\":24,\"x\":0,\"y\":12}]',NULL,NULL,NULL,'v2'),('topology_node_cache','topology_node_cache','',NULL,'micro_service','global','[{\"h\":10,\"i\":\"view-kV69Moc4\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_cache_service\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeFxiuOiOf\",\"expr\":\"time()\"},{\"alias\":\"valueYaLkGKG1\",\"expr\":\"round_float(sum(count_sum::field), 2)\"}],\"where\":[\"host::tag=\'{{host}}\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_cache_service\"],\"resultFilters\":[{\"alias\":\"主机\",\"field\":\"application_cache_service-host::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"{{host}}\"},\"key\":\"filter7m5S3zhY\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeFxiuOiOf\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"field\":\"application_cache_service-count_sum::field\",\"key\":\"valueYaLkGKG1\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true,\"nullDisplay\":\"--\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"吞吐量\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":10,\"i\":\"view-raHXzLcO\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_cache_service\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"type6jWJnYDU\",\"expr\":\"time()\"},{\"alias\":\"value4fg9lHMB\",\"expr\":\"sum(elapsed_sum::field)/sum(count_sum::field)\"}],\"where\":[\"host::tag=\'{{host}}\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_cache_service\"],\"resultFilters\":[{\"alias\":\"主机\",\"field\":\"application_cache_service-host::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"{{host}}\"},\"key\":\"filterZCeYWbcE\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type6jWJnYDU\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"平均延迟(ms)\",\"expr\":\"sum(elapsed_sum::field)/sum(count_sum::field)\",\"key\":\"value4fg9lHMB\",\"type\":\"expr\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true,\"nullDisplay\":\"--\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"响应时间\"},\"w\":24,\"x\":0,\"y\":10}]',NULL,NULL,NULL,'v2'),('topology_node_db','topology_node_db','',NULL,'micro_service','global','[{\"h\":10,\"i\":\"view-kV69Moc4\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_db_service\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeFxiuOiOf\",\"expr\":\"time()\"},{\"alias\":\"valueYaLkGKG1\",\"expr\":\"round_float(sum(count_sum::field), 2)\"}],\"where\":[\"host::tag=\'{{host}}\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_db_service\"],\"resultFilters\":[{\"alias\":\"主机\",\"field\":\"application_db_service-host::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"{{host}}\"},\"key\":\"filter7m5S3zhY\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeFxiuOiOf\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"field\":\"application_db_service-count_sum::field\",\"key\":\"valueYaLkGKG1\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true,\"nullDisplay\":\"--\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"吞吐量\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":10,\"i\":\"view-raHXzLcO\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_db_service\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"type6jWJnYDU\",\"expr\":\"time()\"},{\"alias\":\"value4fg9lHMB\",\"expr\":\"sum(elapsed_sum::field)/sum(count_sum::field)\"}],\"where\":[\"host::tag=\'{{host}}\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_db_service\"],\"resultFilters\":[{\"alias\":\"主机\",\"field\":\"application_db_service-host::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"{{host}}\"},\"key\":\"filterZCeYWbcE\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type6jWJnYDU\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"平均延迟(ms)\",\"expr\":\"sum(elapsed_sum::field)/sum(count_sum::field)\",\"key\":\"value4fg9lHMB\",\"type\":\"expr\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true,\"nullDisplay\":\"--\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"响应时间\"},\"w\":24,\"x\":0,\"y\":10}]',NULL,NULL,NULL,'v2'),('topology_node_gateway','topology_node_gateway','',NULL,'micro_service','global','[{\"h\":7,\"i\":\"view-VrLq6JXO\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"req_host::tag\"],\"limit\":3,\"orderby\":[{\"dir\":\"DESC\",\"expr\":\"sum(elapsed_count::field)\"}],\"select\":[{\"alias\":\"typeTybZBDTL\",\"expr\":\"req_host::tag\"},{\"alias\":\"valuebD64VaGD\",\"expr\":\"round_float(sum(elapsed_count::field), 2)\"}],\"where\":[\"target_addon_type::tag=\'ApiGateway\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\"],\"customTime\":\"this-year\",\"limit\":3,\"resultFilters\":[{\"alias\":\"Target Addon Type\",\"field\":\"application_http-target_addon_type::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"ApiGateway\"},\"key\":\"filterx3BvagjC\",\"resultType\":\"string\",\"type\":\"filter\"}],\"sortDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"field\":\"application_http-elapsed_count::field\",\"key\":\"sort9zKC6Rue\",\"resultType\":\"number\",\"sort\":\"DESC\",\"type\":\"sort\"}],\"typeDimensions\":[{\"alias\":\"域名\",\"field\":\"application_http-req_host::tag\",\"key\":\"typeTybZBDTL\",\"resultType\":\"string\",\"type\":\"field\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"field\":\"application_http-elapsed_count::field\",\"key\":\"valuebD64VaGD\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"域名请求 TOP 3\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":9,\"i\":\"view-jipKAIYk\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeQXtBniA6\",\"expr\":\"time()\"},{\"alias\":\"valueA2KagOZF\",\"expr\":\"round_float(sum(elapsed_count::field), 2)\"}],\"where\":[\"target_addon_type::tag=\'ApiGateway\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\"],\"resultFilters\":[{\"alias\":\"Target Addon Type\",\"field\":\"application_http-target_addon_type::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"ApiGateway\"},\"key\":\"filterb105rFvK\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeQXtBniA6\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"field\":\"application_http-elapsed_count::field\",\"key\":\"valueA2KagOZF\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"吞吐量\"},\"w\":24,\"x\":0,\"y\":8},{\"h\":9,\"i\":\"view-R1FREHx6\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"type336bqk8x\",\"expr\":\"time()\"},{\"alias\":\"valueywTyWVde\",\"expr\":\"round_float(avg(elapsed_mean::field), 2)\"}],\"where\":[\"target_addon_type::tag=\'ApiGateway\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\"],\"resultFilters\":[{\"alias\":\"Target Addon Type\",\"field\":\"application_http-target_addon_type::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"ApiGateway\"},\"key\":\"filterj1hRfnyW\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type336bqk8x\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"avg\",\"alias\":\"平均延迟(ms)\",\"field\":\"application_http-elapsed_mean::field\",\"key\":\"valueywTyWVde\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"响应时间\"},\"w\":24,\"x\":0,\"y\":17}]',NULL,NULL,NULL,'v2'),('topology_node_mq','topology_node_mq','',NULL,'micro_service','global','[{\"h\":10,\"i\":\"view-kV69Moc4\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_mq_service\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeFxiuOiOf\",\"expr\":\"time()\"},{\"alias\":\"valueYaLkGKG1\",\"expr\":\"round_float(sum(count_sum::field), 2)\"}],\"where\":[\"host::tag=\'{{host}}\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_mq_service\"],\"resultFilters\":[{\"alias\":\"主机\",\"field\":\"application_mq_service-host::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"{{host}}\"},\"key\":\"filter7m5S3zhY\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeFxiuOiOf\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"请求次数\",\"field\":\"application_mq_service-count_sum::field\",\"key\":\"valueYaLkGKG1\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true,\"nullDisplay\":\"--\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"吞吐量\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":10,\"i\":\"view-raHXzLcO\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_mq_service\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"type6jWJnYDU\",\"expr\":\"time()\"},{\"alias\":\"value4fg9lHMB\",\"expr\":\"sum(elapsed_sum::field)/sum(count_sum::field)\"}],\"where\":[\"host::tag=\'{{host}}\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_mq_service\"],\"resultFilters\":[{\"alias\":\"主机\",\"field\":\"application_mq_service-host::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"{{host}}\"},\"key\":\"filterZCeYWbcE\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type6jWJnYDU\",\"type\":\"time\"}],\"valueDimensions\":[{\"alias\":\"平均延迟(ms)\",\"expr\":\"sum(elapsed_sum::field)/sum(count_sum::field)\",\"key\":\"value4fg9lHMB\",\"type\":\"expr\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":false,\"noAreaColor\":true,\"nullDisplay\":\"--\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"响应时间\"},\"w\":24,\"x\":0,\"y\":10}]',NULL,NULL,NULL,'v2'),('topology_node_service','topology_node_service','',NULL,'micro_service','global','[{\"h\":4,\"i\":\"view-micro_service_overview\",\"view\":{\"api\":{\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"scope\":\"micro_service\",\"serviceId\":\"{{serviceId}}\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/service/overview\"},\"chartType\":\"card\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"alias\":\"运行中实例\",\"key\":\"running_instances\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"已停止实例\",\"key\":\"stopped_instances\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"错误请求\",\"key\":\"service_error_req_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"服务异常\",\"key\":\"service_exception_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"告警次数\",\"key\":\"alert_count\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false}},\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务概览\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":8,\"i\":\"view-service-request-translation\",\"view\":{\"api\":{\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"scope\":\"micro_service\",\"serviceId\":\"{{serviceId}}\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/service/requests\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"事务类型\",\"key\":\"requestType\",\"resultType\":\"string\",\"type\":\"field\"},{\"aggregation\":\"sum\",\"alias\":\"调用次数\",\"key\":\"requestCount\",\"resultType\":\"number\",\"type\":\"field\"},{\"aggregation\":\"avg\",\"alias\":\"平均响应时间(ms)\",\"key\":\"requestAvgTime\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"错误率 (%)\",\"key\":\"requestErrorRate\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":null,\"title\":\"事务分析\"},\"w\":24,\"x\":0,\"y\":9},{\"h\":8,\"i\":\"view-q9ybiy3z\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeRvHzWW3T\",\"expr\":\"time()\"},{\"alias\":\"valueoTl2ugqu\",\"expr\":\"round_float(sum(elapsed_count::field), 2)\"}],\"where\":[\"target_service_name::tag=\'{{serviceName}}\'\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_application_id\":\"{{applicationId}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\"],\"resultFilters\":[{\"alias\":\"目标服务名称\",\"field\":\"application_http-target_service_name::tag\",\"filter\":{\"operation\":\"=\",\"value\":\"{{serviceName}}\"},\"key\":\"filterRpvruLuG\",\"resultType\":\"string\",\"type\":\"filter\"}],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeRvHzWW3T\",\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"sum\",\"alias\":\"HTTP 请求次数\",\"field\":\"application_http-elapsed_count::field\",\"key\":\"valueoTl2ugqu\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"invalidToZero\":true,\"isConnectNulls\":true,\"isMoreThanOneDay\":true,\"noAreaColor\":true,\"nullDisplay\":\"--\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"吞吐量\"},\"w\":24,\"x\":0,\"y\":18}]',NULL,NULL,NULL,'v2'),('translation_analysis_cache','translation_analysis_cache','',NULL,'micro_service','global','[{\"h\":9,\"i\":\"view-1XA1pzWR\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_cache\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typegq99wZs2\",\"expr\":\"time()\"},{\"alias\":\"valueSR6vrde7\",\"expr\":\"round_float(count(elapsed_count::field), 2)\"}],\"where\":[\"db_statement::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_source_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"search\":\"{{search}}\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:bar\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_cache\",\"application_cahce_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typegq99wZs2\",\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"count\",\"alias\":\"请求次数\",\"field\":\"application_cache-elapsed_count::field\",\"key\":\"valueSR6vrde7\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"YYYY/MM/DD\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务请求\"},\"w\":11,\"x\":0,\"y\":0},{\"h\":9,\"i\":\"view-J4SwjHDP\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_cache\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeQuPvs7M2\",\"expr\":\"time()\"},{\"alias\":\"valueCxbcWuWT\",\"expr\":\"round_float(avg(elapsed_mean::field), 2)\"}],\"where\":[\"db_statement::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_source_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_cache\",\"application_cache_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeQuPvs7M2\",\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"avg\",\"alias\":\"平均响应时间\",\"field\":\"application_cache-elapsed_mean::field\",\"key\":\"valueCxbcWuWT\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"YYYY/MM/DD\",\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"请求延迟\"},\"w\":13,\"x\":11,\"y\":0},{\"h\":10,\"i\":\"view-lVTYdASX\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filterServiceName\":\"{{serviceName}}\",\"layer\":\"cache\",\"search\":\"{{search}}\",\"serviceId\":\"{{serviceId}}\",\"sort\":\"{{sort}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/translation/db\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"alias\":\"执行语句\",\"key\":\"operation\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"缓存类型\",\"key\":\"db_type\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"缓存实例\",\"key\":\"db_instance\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"缓存地址\",\"key\":\"db_host\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"调用次数\",\"key\":\"call_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"慢调用次数\",\"key\":\"slow_elapsed_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"平均延迟\",\"key\":\"avg_elapsed\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"searchTranslation\",\"value\":\"operation\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"缓存调用\"},\"w\":24,\"x\":0,\"y\":9}]',NULL,NULL,NULL,'v2'),('translation_analysis_database','translation_analysis_database','',NULL,'micro_service','global','[{\"h\":9,\"i\":\"view-1XA1pzWR\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_db\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typegq99wZs2\",\"expr\":\"time()\"},{\"alias\":\"valueSR6vrde7\",\"expr\":\"round_float(count(elapsed_count::field), 2)\"}],\"where\":[\"db_statement::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_source_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:bar\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_db\",\"application_db_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typegq99wZs2\",\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"count\",\"alias\":\"请求次数\",\"field\":\"application_db-elapsed_count::field\",\"key\":\"valueSR6vrde7\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"YYYY/MM/DD\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务请求\"},\"w\":11,\"x\":0,\"y\":0},{\"h\":9,\"i\":\"view-J4SwjHDP\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_db\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeQuPvs7M2\",\"expr\":\"time()\"},{\"alias\":\"valueCxbcWuWT\",\"expr\":\"round_float(avg(elapsed_mean::field), 2)\"}],\"where\":[\"db_statement::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_source_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_db\",\"application_db_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeQuPvs7M2\",\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"avg\",\"alias\":\"平均响应时间\",\"field\":\"application_db-elapsed_mean::field\",\"key\":\"valueCxbcWuWT\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"isMoreThanOneDay\":false,\"moreThanOneDayFormat\":\"YYYY/MM/DD\",\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"请求延迟\"},\"w\":13,\"x\":11,\"y\":0},{\"h\":10,\"i\":\"view-lVTYdASX\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filterServiceName\":\"{{serviceName}}\",\"layer\":\"db\",\"search\":\"{{search}}\",\"serviceId\":\"{{serviceId}}\",\"sort\":\"{{sort}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/translation/db\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"alias\":\"SQL\",\"key\":\"operation\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"数据库类型\",\"key\":\"db_type\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"数据库实例\",\"key\":\"db_instance\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"数据库地址\",\"key\":\"db_host\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"调用次数\",\"key\":\"call_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"慢调用次数\",\"key\":\"slow_elapsed_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"平均延迟\",\"key\":\"avg_elapsed\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"searchTranslation\",\"value\":\"operation\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"数据库调用\"},\"w\":24,\"x\":0,\"y\":9}]',NULL,NULL,NULL,'v2'),('translation_analysis_http','translation_analysis_http','',NULL,'micro_service','global','[{\"h\":11,\"i\":\"view-UQW30sdQ\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeHWstw9Kl\",\"expr\":\"time()\"},{\"alias\":\"valuensYW3soM\",\"expr\":\"round_float(count(elapsed_count::field), 2)\"}],\"where\":[\"http_path::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:bar\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\",\"application_http_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeHWstw9Kl\",\"timeField\":{},\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"count\",\"alias\":\"请求次数\",\"field\":\"application_http-elapsed_count::field\",\"key\":\"valuensYW3soM\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isConnectNulls\":false,\"isLabel\":false,\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"YYYY/MM/DD\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务请求\"},\"w\":12,\"x\":0,\"y\":10},{\"h\":11,\"i\":\"view-WPTjI5ir\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_http\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"type2jCjYVIp\",\"expr\":\"time()\"},{\"alias\":\"valueZjrFmhZg\",\"expr\":\"round_float(avg(elapsed_mean::field), 2)\"}],\"where\":[\"http_path::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_http\",\"application_http_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type2jCjYVIp\",\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"avg\",\"alias\":\"平均响应时间\",\"field\":\"application_http-elapsed_mean::field\",\"key\":\"valueZjrFmhZg\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"YYYY/MM/DD\",\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"请求延迟\"},\"w\":12,\"x\":12,\"y\":10},{\"h\":10,\"i\":\"view-lVTYdASX\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filterServiceName\":\"{{serviceName}}\",\"layer\":\"http\",\"search\":\"{{search}}\",\"serviceId\":\"{{serviceId}}\",\"sort\":\"{{sort}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/translation\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"alias\":\"事务名称\",\"key\":\"translation_name\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"调用次数\",\"key\":\"elapsed_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"错误次数\",\"key\":\"error_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"慢调用次数\",\"key\":\"slow_elapsed_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"平均延迟\",\"key\":\"avg_elapsed\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"searchTranslation\",\"value\":\"translation_name\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"HTTP事务\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":9,\"i\":\"view-FlQBcOqT\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"q\":\"SELECT http_path::tag as URL,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间,format_duration(max(elapsed_max::field),\'\',2) as 最大耗时,format_duration(min(elapsed_min::field),\'\',2) as 最小耗时 FROM application_http WHERE http_path::tag=~/.*{{subSearch}}.*/ AND target_service_name::tag=~/.*{{serviceName}}.*/ GROUP BY http_path::tag ORDER BY avg(elapsed_mean::field) DESC LIMIT 50 \",\"ql\":\"influxql\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"isSqlMode\":true,\"sql\":{\"from\":\"application_http_slow\",\"fromSource\":[\"application_http\",\"application_http_slow\"],\"groupBy\":\"http_path::tag\",\"limit\":50,\"orderBy\":\"\",\"select\":\"http_path::tag as URL,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间,format_duration(elapsed_max::field,\'\',2) as 最大耗时,format_duration(elapsed_min::field,\'\',2) as 最小耗时\",\"where\":[\"http_path::tag=~/.*{{subSearch}}.*/\"]}},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"traceSlowTranslation\",\"value\":\"URL\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"慢事务追踪top50\"},\"w\":14,\"x\":0,\"y\":21},{\"h\":9,\"i\":\"view-sCRTdIQb\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"q\":\"SELECT http_path::tag as URL,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间 FROM application_http_error WHERE http_path::tag=~/.*{{subSearch}}.*/ AND target_service_name::tag=~/.*{{serviceName}}.*/ GROUP BY http_path::tag ORDER BY max(timestamp) DESC LIMIT 50 \",\"ql\":\"influxql\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"isSqlMode\":true,\"sql\":{\"from\":\"application_http_error\",\"fromSource\":[\"application_http\",\"application_http_error\"],\"groupBy\":\"http_path::tag\",\"limit\":50,\"select\":\"http_path::tag as URL,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间\",\"where\":[\"http_path::tag=~/.*{{subSearch}}.*/\"]}},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"traceSlowTranslation\",\"value\":\"URL\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"错误事务追踪Top50\"},\"w\":10,\"x\":14,\"y\":21}]',NULL,NULL,NULL,'v2'),('translation_analysis_rpc','translation_analysis_rpc','',NULL,'micro_service','global','[{\"h\":11,\"i\":\"view-UQW30sdQ\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_rpc\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"typeHWstw9Kl\",\"expr\":\"time()\"},{\"alias\":\"valueV71fTatk\",\"expr\":\"round_float(count(elapsed_count::field), 2)\"}],\"where\":[\"dubbo_method::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:bar\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_rpc\",\"application_rpc_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"typeHWstw9Kl\",\"timeField\":{},\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"count\",\"alias\":\"请求次数\",\"field\":\"application_rpc-elapsed_count::field\",\"key\":\"valueV71fTatk\",\"resultType\":\"number\",\"type\":\"field\"}]},\"optionProps\":{\"isConnectNulls\":false,\"isLabel\":false,\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"YYYY/MM/DD\"}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"服务请求\"},\"w\":12,\"x\":0,\"y\":10},{\"h\":11,\"i\":\"view-WPTjI5ir\",\"view\":{\"api\":{\"body\":{\"from\":[\"application_rpc\"],\"groupby\":[\"time()\"],\"select\":[{\"alias\":\"type2jCjYVIp\",\"expr\":\"time()\"},{\"alias\":\"valueaecENLIN\",\"expr\":\"round_float(avg(elapsed_mean::field), 2)\"}],\"where\":[\"dubbo_method::tag=~/.*{{subSearch}}.*/\"]},\"extraData\":null,\"header\":null,\"method\":\"post\",\"query\":{\"end\":\"{{endTime}}\",\"epoch\":\"ms\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"ql\":\"influxql:ast\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"chart:line\",\"config\":{\"dataSourceConfig\":{\"activedMetricGroups\":[\"application_rpc\",\"application_rpc_request\"],\"typeDimensions\":[{\"alias\":\"时间\",\"key\":\"type2jCjYVIp\",\"timeFormat\":\"YYYY/MM/DD\",\"timeInterval\":{\"unit\":\"m\",\"value\":1},\"type\":\"time\"}],\"valueDimensions\":[{\"aggregation\":\"avg\",\"alias\":\"请求耗时平均值\",\"field\":\"application_rpc-elapsed_mean::field\",\"key\":\"valueaecENLIN\",\"resultType\":\"number\",\"type\":\"field\",\"unit\":{\"type\":\"TIME\",\"unit\":\"ns\"}}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"YYYY/MM/DD\",\"noAreaColor\":true}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"请求延迟\"},\"w\":12,\"x\":12,\"y\":10},{\"h\":10,\"i\":\"view-lVTYdASX\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filterServiceName\":\"{{serviceName}}\",\"layer\":\"rpc\",\"search\":\"{{search}}\",\"serviceId\":\"{{serviceId}}\",\"sort\":\"{{sort}}\",\"start\":\"{{startTime}}\",\"terminusKey\":\"{{terminusKey}}\"},\"url\":\"/api/apm/topology/translation\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"valueDimensions\":[{\"alias\":\"事务名称\",\"key\":\"translation_name\",\"resultType\":\"string\",\"type\":\"field\"},{\"alias\":\"调用次数\",\"key\":\"elapsed_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"错误次数\",\"key\":\"error_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"慢调用次数\",\"key\":\"slow_elapsed_count\",\"resultType\":\"number\",\"type\":\"field\"},{\"alias\":\"平均延迟\",\"key\":\"avg_elapsed\",\"resultType\":\"string\",\"type\":\"field\"}]},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"searchTranslation\",\"value\":\"translation_name\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"RPC事务\"},\"w\":24,\"x\":0,\"y\":0},{\"h\":9,\"i\":\"view-FlQBcOqT\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"filter_terminus_key\":\"{{terminusKey}}\",\"format\":\"chartv2\",\"q\":\"SELECT dubbo_service::tag as Service,dubbo_method::tag as Method,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间,format_duration(elapsed_max::field,\'\',2) as 最大耗时,format_duration(elapsed_min::field,\'\',2) as 最小耗时 FROM application_rpc_slow WHERE dubbo_method::tag=~/.*{{subSearch}}.*/ AND target_service_name::tag=~/.*{{serviceName}}.*/ GROUP BY dubbo_method::tag ORDER BY avg(elapsed_mean::field) DESC LIMIT 50 \",\"ql\":\"influxql\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"isSqlMode\":true,\"sql\":{\"from\":\"application_rpc_slow\",\"fromSource\":[\"application_rpc\",\"application_rpc_slow\"],\"groupBy\":\"dubbo_method::tag\",\"limit\":50,\"orderBy\":\"\",\"select\":\"dubbo_method::tag as Method,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间,format_duration(elapsed_max::field,\'\',2) as 最大耗时,format_duration(elapsed_min::field,\'\',2) as 最小耗时\",\"where\":[\"dubbo_method::tag=~/.*{{subSearch}}.*/\"]}},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"traceSlowTranslation\",\"value\":\"Method\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"慢事务追踪top50\"},\"w\":14,\"x\":0,\"y\":21},{\"h\":9,\"i\":\"view-sCRTdIQb\",\"view\":{\"api\":{\"body\":null,\"extraData\":null,\"header\":null,\"method\":\"get\",\"query\":{\"end\":\"{{endTime}}\",\"filter__metric_scope\":\"micro_service\",\"filter__metric_scope_id\":\"{{terminusKey}}\",\"filter_target_service_id\":\"{{serviceId}}\",\"format\":\"chartv2\",\"q\":\"SELECT dubbo_service::tag as Service,dubbo_method::tag as Method,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间 FROM application_rpc_error WHERE dubbo_method::tag=~/.*{{subSearch}}.*/ AND target_service_name::tag=~/.*{{serviceName}}.*/ GROUP BY dubbo_method::tag ORDER BY max(timestamp) DESC LIMIT 50 \",\"ql\":\"influxql\",\"serviceName\":\"{{serviceName}}\",\"start\":\"{{startTime}}\",\"type\":\"_\"},\"url\":\"/api/tmc/metrics-query\"},\"chartType\":\"table\",\"config\":{\"dataSourceConfig\":{\"isSqlMode\":true,\"sql\":{\"from\":\"application_rpc_error\",\"fromSource\":[\"application_rpc\",\"application_rpc_error\"],\"groupBy\":\"dubbo_method::tag\",\"limit\":50,\"select\":\"dubbo_method::tag as Method,format_time(timestamp,\'2006-01-02 15:04:05\') as 时间\",\"where\":\"dubbo_method::tag=~/.*{{subSearch}}.*/\"}},\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"rowClick\":{\"name\":\"traceSlowTranslation\",\"value\":\"Method\"}}},\"controls\":null,\"dataSourceType\":\"api\",\"description\":\"\",\"staticData\":{},\"title\":\"错误事务追踪Top50\"},\"w\":10,\"x\":14,\"y\":21}]',NULL,NULL,NULL,'v2'),('weekly','运维周报模版','运维周报模版','','report','org','[{\"w\":4,\"h\":4,\"x\":0,\"y\":1,\"i\":\"d12\",\"view\":{\"title\":\"集群资源概况\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.cluster_name\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":4,\"y\":1,\"i\":\"d11\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.host_ip\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":8,\"y\":1,\"i\":\"d13\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group_reduce\":\"{group=tags.host_ip\\u0026last=fields.n_cpus\\u0026reduce=sum}\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":12,\"y\":1,\"i\":\"d14\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group_reduce\":\"{group=tags.host_ip\\u0026last=fields.mem_total\\u0026reduce=sum}\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":16,\"y\":1,\"i\":\"d15\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group_reduce\":\"{group=tags.host_ip\\u0026last=fields.cpu_request_total\\u0026reduce=sum}\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":20,\"y\":1,\"i\":\"d16\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group_reduce\":\"{group=tags.host_ip\\u0026last=fields.mem_request_total\\u0026reduce=sum}\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":0,\"y\":5,\"i\":\"d21\",\"view\":{\"title\":\"项目资源概况\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/project_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.project_id\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":4,\"y\":5,\"i\":\"d22\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/project_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.service_id\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":8,\"y\":5,\"i\":\"d23\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/project_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.container_id\",\"end\":\"now\",\"filter_instance_type\":\"service\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":12,\"y\":5,\"i\":\"d24\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/project_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.addon_id\",\"end\":\"now\",\"filter_instance_type\":\"addon\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"match_project_id\":\"*\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":16,\"y\":5,\"i\":\"d25\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/project_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group_reduce\":\"{group=tags.container_id\\u0026last=fields.cpu_allocation\\u0026reduce=sum}\",\"match_project_id\":\"*\",\"start\":\"before_1m\"},\"body\":{},\"header\":{}}}},{\"w\":4,\"h\":4,\"x\":20,\"y\":5,\"i\":\"d26\",\"view\":{\"title\":\" \",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/project_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group_reduce\":\"{group=tags.container_id\\u0026last=fields.mem_allocation\\u0026reduce=sum}\",\"match_project_id\":\"*\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":10,\"i\":\"d31\",\"view\":{\"title\":\"集群机器概况\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/cluster_resource\",\"query\":{\"align\":false,\"cardinality\":\"tags.host_ip\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"tags.cluster_name\",\"last\":\"tags.cluster_name\",\"start\":\"before_5m\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":20,\"i\":\"d41\",\"view\":{\"title\":\"每日CPU分配\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/cluster_resource/histogram\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"group_reduce\":\"{group=tags.host_ip\\u0026last=fields.cpu_request_total\\u0026reduce=sum}\",\"points\":7,\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":30,\"i\":\"d51\",\"view\":{\"title\":\"每日内存分配\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/cluster_resource/histogram\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"group_reduce\":\"{group=tags.host_ip\\u0026last=fields.mem_request_total\\u0026reduce=sum}\",\"points\":7,\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":40,\"i\":\"d61\",\"view\":{\"title\":\"机器每日CPU最大使用率\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/cluster_resource/histogram\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"max\":\"cpu_usage_active\",\"points\":7,\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":50,\"i\":\"d71\",\"view\":{\"title\":\"机器CPU使用率告警次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"align\":false,\"count\":\"tags.alert_id\",\"end\":\"now\",\"filter_alert_index\":\"machine_cpu\",\"filter_alert_type\":\"machine\",\"filter_dice_org_id\":\"\",\"format\":\"chartv2\",\"group\":\"tags.host_ip\",\"last\":\"tags.host_ip\",\"limit\":10,\"sort\":\"count_tags.alert_id\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":64,\"i\":\"d81\",\"view\":{\"title\":\"机器每日磁盘最大使用率\",\"description\":\"不包含网盘使用率\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/cluster_resource/histogram\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"max\":\"disk_used_percent\",\"points\":7,\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":74,\"i\":\"d91\",\"view\":{\"title\":\"机器磁盘使用率告警次数 TOP10\",\"description\":\"不包含网盘使用率告警次数\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"align\":false,\"count\":\"tags.alert_id\",\"end\":\"now\",\"filter_alert_index\":\"machine_disk\",\"filter_alert_type\":\"machine\",\"filter_dice_org_id\":\"\",\"format\":\"chartv2\",\"group\":\"tags.host_ip\",\"last\":\"tags.host_ip\",\"limit\":10,\"sort\":\"count_tags.alert_id\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":88,\"i\":\"d111\",\"view\":{\"title\":\"异常机器数\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/alert_resource/histogram\",\"query\":{\"align\":false,\"cardinality\":\"tags.host_ip\",\"end\":\"now\",\"filter_alert_type\":\"machine\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"points\":\"7\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":98,\"i\":\"d121\",\"view\":{\"title\":\"机器异常持续时间\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\",\"unit\":\"min\"}},\"api\":{\"url\":\"/api/metrics/alert_resource/histogram\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_alert_type\":\"machine\",\"filter_dice_org_id\":\"\",\"points\":\"7\",\"start\":\"before_168h\",\"sum\":\"fields.trigger_duration\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":108,\"i\":\"d131\",\"view\":{\"title\":\"告警类别分析\",\"description\":\"\",\"chartType\":\"chart:pie\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"count\":\"tags.alert_type\",\"end\":\"now\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"format\":\"chartv2\",\"group\":\"alert_type\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":118,\"i\":\"d141\",\"view\":{\"title\":\"告警趋势\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/alert_resource/histogram\",\"query\":{\"align\":false,\"count\":\"tags.alert_id\",\"end\":\"now\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"group\":\"cluster_name\",\"points\":\"7\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":128,\"i\":\"d151\",\"view\":{\"title\":\"中间件告警趋势\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/alert_resource/histogram\",\"query\":{\"align\":false,\"count\":\"tags.alert_id\",\"end\":\"now\",\"filter_alert_type\":\"addon\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"points\":\"7\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":138,\"i\":\"d161\",\"view\":{\"title\":\"kubernetes告警量趋势\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/alert_resource/histogram\",\"query\":{\"align\":false,\"count\":\"tags.alert_id\",\"end\":\"now\",\"filter_alert_type\":\"kubernetes\",\"filter_dice_org_id\":\"\",\"filter_trigger\":\"alert\",\"match_alert_index\":\"kubernetes_*\",\"points\":\"7\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":148,\"i\":\"d171\",\"view\":{\"title\":\"应用JVM告警次数 TOP10\",\"description\":\"以堆内存告警次数排序\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/alert_resource\",\"query\":{\"align\":false,\"count\":[\"fields.time_sum\",\"fields.usage_percent_avg\",\"fields.count_sum\"],\"end\":\"now\",\"filter_alert_type\":\"app_resource\",\"filter_dice_org_id\":\"\",\"format\":\"chartv2\",\"group\":\"tags.application_id\",\"last\":[\"tags.project_name\",\"tags.service_name\",\"tags.application_name\"],\"limit\":10,\"match_alert_index\":\"*jvm*\",\"sort\":\"count_fields.usage_percent_avg\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":162,\"i\":\"d181\",\"view\":{\"title\":\"应用慢事务次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/app_http_slow_resource\",\"query\":{\"align\":false,\"count\":\"elapsed_count\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"target_application_id\",\"last\":[\"tags.target_application_name\",\"tags.target_service_name\",\"tags.target_project_name\"],\"limit\":10,\"sort\":\"count_fields.elapsed_count\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":176,\"i\":\"d191\",\"view\":{\"title\":\"应用错误次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/error_resource\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"(service_name,runtime_id)\",\"last\":[\"tags.service_name\",\"tags.application_name\",\"tags.project_name\"],\"limit\":10,\"sort\":\"sum_count\",\"start\":\"before_168h\",\"sum\":\"count\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":190,\"i\":\"d201\",\"view\":{\"title\":\"应用慢SQL次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/app_db_resource\",\"query\":{\"align\":false,\"count\":\"elapsed_count\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"source_application_id\",\"last\":[\"tags.source_project_name\",\"tags.source_service_name\",\"tags.source_application_name\"],\"limit\":10,\"sort\":\"count_elapsed_count\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":204,\"i\":\"d211\",\"view\":{\"title\":\"应用http请求错误次数 TOP10\",\"description\":\"\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/app_http_error_resource\",\"query\":{\"align\":false,\"count\":\"elapsed_count\",\"end\":\"now\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"target_application_id\",\"last\":[\"tags.target_application_name\",\"tags.target_project_name\",\"tags.target_service_name\"],\"limit\":10,\"sort\":\"count_elapsed_count\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":218,\"i\":\"d221\",\"view\":{\"title\":\"服务和Addon OOM次数\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/project_resource/histogram\",\"query\":{\"align\":false,\"count\":[\"tags.service_id\",\"tags.addon_id\"],\"end\":\"now\",\"field_eq_oomkilled\":\"b:true\",\"filter_org_name\":\"\",\"match_project_id\":\"*\",\"points\":\"7\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":13,\"x\":0,\"y\":228,\"i\":\"d231\",\"view\":{\"title\":\"项目OOM次数 Top10\",\"description\":\"根据服务OOM次数排序\",\"chartType\":\"table\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{},\"api\":{\"url\":\"/api/metrics/project_oom_resource\",\"query\":{\"align\":false,\"count\":[\"tags.service_id\",\"tags.addon_id\"],\"end\":\"now\",\"field_eq_oomkilled\":\"b:true\",\"filter_org_name\":\"\",\"format\":\"chartv2\",\"group\":\"tags.project_id\",\"last\":\"tags.project_name\",\"limit\":10,\"sort\":\"count_tags.service_id\",\"start\":\"before_168h\"},\"body\":{},\"header\":{}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":242,\"i\":\"d241\",\"view\":{\"title\":\"API网关流量\",\"description\":\"\",\"chartType\":\"chart:line\",\"dataSourceType\":\"static\",\"staticData\":null,\"config\":{\"optionProps\":{\"isMoreThanOneDay\":true,\"moreThanOneDayFormat\":\"M/D\"}},\"api\":{\"url\":\"/api/metrics/app_resource/histogram\",\"query\":{\"align\":false,\"end\":\"now\",\"filter_org_name\":\"\",\"filter_target_addon_id\":\"ApiGateway\",\"points\":\"7\",\"start\":\"before_168h\",\"sum\":\"elapsed_count\"},\"body\":{},\"header\":{}}}}]',NULL,'2020-06-13 18:19:06','2020-06-13 18:19:06',''),('working','工时统计','','','org','terminus','[{\"w\":12,\"h\":9,\"x\":0,\"y\":0,\"i\":\"view-98ae03fd\",\"view\":{\"title\":\"实际工作量 (人天)\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics\",\"query\":{\"alias_sum.issue_elapsed_time\":\"issue_elapsed_time总和\",\"chartType\":\"card\",\"format\":\"chartv2\",\"sum\":[\"issue_elapsed_time\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"5\",\"metric\":\"issue_metrics_statistics-issue_elapsed_time\"}],\"filters\":[],\"group\":[]}}}},{\"w\":12,\"h\":9,\"x\":12,\"y\":0,\"i\":\"view-73d60bcb\",\"view\":{\"title\":\"预计工作量 (人天)\",\"description\":\"\",\"chartType\":\"card\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics\",\"query\":{\"alias_sum.issue_estimate_time\":\"issue_estimate_time总和\",\"chartType\":\"card\",\"format\":\"chartv2\",\"sum\":[\"issue_estimate_time\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"16\",\"metric\":\"issue_metrics_statistics-issue_estimate_time\"}],\"filters\":[],\"group\":[]}}}},{\"w\":24,\"h\":9,\"x\":0,\"y\":9,\"i\":\"view-cdb72329\",\"view\":{\"title\":\"成员工作量分布 (人天)\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics/histogram\",\"query\":{\"alias_last.tags.issue_user_nick\":\"issue_user_nick\",\"alias_sum.issue_elapsed_time\":\"issue_elapsed_time总和\",\"alias_sum.issue_estimate_time\":\"issue_estimate_time总和\",\"chartType\":\"chart:bar\",\"format\":\"chartv2\",\"limit\":1000,\"group\":\"(tags.issue_user_nick)\",\"sum\":[\"issue_estimate_time\",\"issue_elapsed_time\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"50\",\"metric\":\"issue_metrics_statistics-issue_estimate_time\"},{\"aggregation\":\"sum\",\"key\":\"40\",\"metric\":\"issue_metrics_statistics-issue_elapsed_time\"}],\"filters\":[],\"group\":[\"tags.issue_user_nick\"]}}}},{\"w\":12,\"h\":9,\"x\":0,\"y\":28,\"i\":\"view-2161e559\",\"view\":{\"title\":\"缺陷 耗时TOP10 (人天)\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics/histogram\",\"query\":{\"alias_last.tags.issue_title\":\"issue_title\",\"alias_sum.issue_elapsed_time\":\"issue_elapsed_time总和\",\"chartType\":\"chart:bar\",\"eq_tags.issue_type\":\"BUG\",\"format\":\"chartv2\",\"group\":\"(tags.issue_title)\",\"limit\":10,\"sort\":\"sum_issue_elapsed_time\",\"sum\":[\"issue_elapsed_time\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"235\",\"metric\":\"issue_metrics_statistics-issue_elapsed_time\"}],\"filters\":[{\"key\":\"245\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"BUG\"}],\"group\":[\"tags.issue_title\"],\"limit\":10}}}},{\"w\":12,\"h\":9,\"x\":12,\"y\":28,\"i\":\"view-1e55a4eb\",\"view\":{\"title\":\"任务 耗时TOP10 (人天)\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics/histogram\",\"query\":{\"alias_last.tags.issue_title\":\"issue_title\",\"alias_sum.issue_elapsed_time\":\"issue_elapsed_time总和\",\"chartType\":\"chart:bar\",\"eq_tags.issue_type\":\"TASK\",\"format\":\"chartv2\",\"group\":\"(tags.issue_title)\",\"limit\":10,\"sort\":\"sum_issue_elapsed_time\",\"sum\":[\"issue_elapsed_time\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"347\",\"metric\":\"issue_metrics_statistics-issue_elapsed_time\"}],\"filters\":[{\"key\":\"357\",\"method\":\"eq\",\"tag\":\"tags.issue_type\",\"value\":\"TASK\"}],\"group\":[\"tags.issue_title\"],\"limit\":10}}}},{\"w\":24,\"h\":10,\"x\":0,\"y\":18,\"i\":\"view-970a9935\",\"view\":{\"title\":\"人员事件分布 (个)\",\"description\":\"\",\"chartType\":\"chart:bar\",\"dataSourceType\":\"api\",\"staticData\":{},\"config\":{\"optionProps\":{\"isMoreThanOneDay\":false},\"option\":{\"yAxis\":[{\"name\":\"\"}]}},\"api\":{\"url\":\"/api/project/metrics/issue_metrics_statistics/histogram\",\"query\":{\"alias_last.tags.issue_user_nick\":\"issue_user_nick\",\"alias_sum.issue_type_BUG\":\"issue_type_BUG总和\",\"alias_sum.issue_type_TASK\":\"issue_type_TASK总和\",\"chartType\":\"chart:bar\",\"format\":\"chartv2\",\"limit\":1000,\"group\":\"(tags.issue_user_nick)\",\"sum\":[\"issue_type_TASK\",\"issue_type_BUG\"]},\"body\":null,\"header\":null,\"extraData\":{\"activedMetricGroups\":[\"other\",\"other@issue_metrics_statistics\"],\"activedMetrics\":[{\"aggregation\":\"sum\",\"key\":\"659\",\"metric\":\"issue_metrics_statistics-issue_type_TASK\"},{\"aggregation\":\"sum\",\"key\":\"649\",\"metric\":\"issue_metrics_statistics-issue_type_BUG\"}],\"filters\":[],\"group\":[\"tags.issue_user_nick\"]}}}}]','[]','2020-09-10 13:11:24','2020-09-10 13:27:18',''); @@ -390,5 +390,5 @@ CREATE TABLE `sp_report_task` ( UNIQUE KEY `Name` (`name`,`scope`,`scope_id`), UNIQUE KEY `Scope` (`name`,`scope`,`scope_id`), UNIQUE KEY `ScopeID` (`name`,`scope`,`scope_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='报表任务表'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='报表任务表'; diff --git a/.erda/migrations/msp/20200528-tmc-base.sql b/.erda/migrations/msp/20200528-tmc-base.sql index 374536b27d6..8c8446c021f 100644 --- a/.erda/migrations/msp/20200528-tmc-base.sql +++ b/.erda/migrations/msp/20200528-tmc-base.sql @@ -9,7 +9,7 @@ CREATE TABLE `sp_account` ( `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主动监控存储用户账号表,已废弃'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储用户账号表,已废弃'; CREATE TABLE `sp_authentication` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -20,7 +20,7 @@ CREATE TABLE `sp_authentication` ( `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主动监控存储用户认证的表,已废弃'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储用户认证的表,已废弃'; CREATE TABLE `sp_chart_meta` ( `id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键', @@ -50,7 +50,7 @@ CREATE TABLE `sp_history` ( PRIMARY KEY (`id`), KEY `metricId` (`metric_id`), KEY `statusId` (`status_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主动监控存储历史记录项的表,已废弃'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储历史记录项的表,已废弃'; CREATE TABLE `sp_log_deployment` ( `id` int(10) NOT NULL AUTO_INCREMENT, @@ -98,7 +98,7 @@ CREATE TABLE `sp_maintenance` ( `start_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `project_id` (`project_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主动监控存储配置项的表,已废弃'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储配置项的表,已废弃'; CREATE TABLE `sp_metric` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -117,7 +117,7 @@ CREATE TABLE `sp_metric` ( PRIMARY KEY (`id`), KEY `projectId` (`project_id`), KEY `serviceId` (`service_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主动监控存储配置项的表'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储配置项的表'; CREATE TABLE `sp_monitor` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -164,7 +164,7 @@ CREATE TABLE `sp_project` ( `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`), KEY `identity` (`identity`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主动监控存储项目映射的表'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储项目映射的表'; CREATE TABLE `sp_report_settings` ( `id` int(11) NOT NULL AUTO_INCREMENT, @@ -206,7 +206,7 @@ CREATE TABLE `sp_service` ( `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主动监控存储服务项的表,已废弃'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储服务项的表,已废弃'; CREATE TABLE `sp_stage` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID', @@ -214,7 +214,7 @@ CREATE TABLE `sp_stage` ( `color` varchar(255) DEFAULT NULL COMMENT '颜色', PRIMARY KEY (`id`), UNIQUE KEY `uniqName` (`name`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='告警状态颜色枚举表'; +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='告警状态颜色枚举表'; INSERT INTO `sp_stage` (`id`, `name`, `color`) VALUES (1,'Investigating','#EA5746'),(2,'Identified','#ee8600'),(3,'Monitoring','#068FD6'),(4,'Resolved','#666'); @@ -226,7 +226,7 @@ CREATE TABLE `sp_status` ( `level` int(10) unsigned zerofill NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `uniqName` (`name`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='主动监控状态枚举表'; +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='主动监控状态枚举表'; INSERT INTO `sp_status` (`id`, `name`, `color`, `level`) VALUES (1,'Operational','#2fcc66',0000000000),(2,'Major Outage','#e74c3c',0000000003),(3,'Partial Outage','#e67e22',0000000002),(4,'Degraded Performance','#f1c40f',0000000001); @@ -257,7 +257,7 @@ CREATE TABLE `sp_user` ( `created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `uniqName` (`username`) -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='主动监控存储用户的表,已废弃'; +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COMMENT='主动监控存储用户的表,已废弃'; INSERT INTO `sp_user` (`id`, `username`, `salt`, `password`, `created_at`) VALUES (3,'admin','1536227528641690966','54cf26baae342201e50ddb4391b44f1f','2018-09-06 01:52:09'),(5,'purchase','1538099181623594327','f6c212584ca861b507234529c4a70fb1','2018-09-28 01:46:22'); @@ -272,7 +272,7 @@ CREATE TABLE `tb_tmc` ( `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COMMENT='微服务组件元信息'; +) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COMMENT='微服务组件元信息'; INSERT INTO `tb_tmc` (`id`, `name`, `engine`, `service_type`, `deploy_mode`, `create_time`, `update_time`, `is_deleted`) VALUES (1,'微服务治理','micro-service','MICRO_SERVICE','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(2,'配置中心','config-center','MICRO_SERVICE','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(3,'应用监控','monitor','MICRO_SERVICE','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(4,'注册中心','registercenter','MICRO_SERVICE','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(5,'API网关','api-gateway','MICRO_SERVICE','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(6,'Nacos','nacos','ADDON','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(7,'MySQL','mysql','ADDON','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(8,'ZooKeeper','zookeeper','ADDON','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(9,'ETCD','etcd','ADDON','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(10,'ZKProxy','zkproxy','ADDON','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(11,'PostgreSQL','postgresql','ADDON','SAAS','2021-05-28 11:30:25','2021-05-28 11:54:58','N'),(12,'权限中心','acl','GENERAL_ABILITY','PAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(13,'日志分析','log-analytics','ADDON','SAAS','2021-05-28 11:30:25','2021-05-28 11:54:54','N'),(14,'Trantor','trantor','GENERAL_ABILITY','PAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(15,'通知中心','notice-center','GENERAL_ABILITY','SAAS','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(16,'服务治理','service-mesh','MICRO_SERVICE','SAAS','2021-05-28 11:54:53','2021-05-28 11:54:53','N'),(17,'监控Zookeeper','monitor-zk','ADDON','SAAS','2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(18,'监控Kafka','monitor-kafka','ADDON','SAAS','2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(19,'监控Collector','monitor-collector','ADDON','SAAS','2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(20,'日志导出','log-exporter','ADDON','PAAS','2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(21,'日志elasticsearch','log-es','ADDON','SAAS','2021-05-28 11:54:54','2021-05-28 11:54:54','N'); @@ -287,7 +287,7 @@ CREATE TABLE `tb_tmc_ini` ( `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`), KEY `idx_ini_name` (`ini_name`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='微服务控制平台的配置信息'; +) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COMMENT='微服务控制平台的配置信息'; INSERT INTO `tb_tmc_ini` (`id`, `ini_name`, `ini_desc`, `ini_value`, `create_time`, `update_time`, `is_deleted`) VALUES (1,'MS_MENU','微服务治理菜单列表','[{\"key\":\"ServiceGovernance\",\"cnName\":\"微服务治理\",\"enName\":\"MicroService\",\"children\":[{\"key\":\"Overview\",\"cnName\":\"全局拓扑\",\"enName\":\"Overview\",\"exists\":true,\"mustExists\":true}],\"exists\":true,\"mustExists\":true},{\"key\":\"AppMonitor\",\"cnName\":\"应用监控\",\"enName\":\"AppMonitor\",\"children\":[{\"key\":\"MonitorIntro\",\"href\":\"/manual/microservice/use-apm-monitor-app.html\",\"cnName\":\"使用引导\",\"enName\":\"MonitorIntro\",\"exists\":true},{\"key\":\"ServiceList\",\"cnName\":\"服务列表\",\"enName\":\"ServiceList\",\"exists\":false},{\"key\":\"BrowserInsight\",\"cnName\":\"浏览性能\",\"enName\":\"BrowserInsight\",\"exists\":false},{\"key\":\"AppInsight\",\"cnName\":\"APP性能\",\"enName\":\"AppInsight\",\"exists\":false},{\"key\":\"ErrorInsight\",\"cnName\":\"错误分析\",\"enName\":\"ErrorInsight\",\"exists\":false},{\"key\":\"Transaction\",\"cnName\":\"链路追踪\",\"enName\":\"Transaction\",\"exists\":false},{\"key\":\"StatusPage\",\"cnName\":\"主动监控\",\"enName\":\"StatusPage\",\"exists\":false},{\"key\":\"Alarm\",\"cnName\":\"告警通知\",\"enName\":\"Alarm\",\"exists\":false},{\"key\":\"CustomAlarm\",\"cnName\":\"自定义告警\",\"enName\":\"CustomAlarm\",\"exists\":false},{\"key\":\"AlarmRecord\",\"cnName\":\"告警记录\",\"enName\":\"AlarmRecord\",\"exists\":false},{\"key\":\"CustomDashboard\",\"cnName\":\"运维大盘\",\"enName\":\"O & M dashboard\",\"exists\":false}],\"exists\":true,\"mustExists\":true},{\"key\":\"LogAnalyze\",\"cnName\":\"日志分析\",\"enName\":\"LogAnalyze\",\"exists\":true,\"children\":[{\"cnName\":\"日志查询\",\"enName\":\"LogQuery\",\"key\":\"LogQuery\",\"exists\":false},{\"cnName\":\"分析规则\",\"enName\":\"AnalyzeRule\",\"key\":\"AnalyzeRule\",\"exists\":false}]},{\"key\":\"APIGateway\",\"cnName\":\"API网关\",\"enName\":\"APIGateway\",\"children\":[{\"key\":\"GatewayIntro\",\"cnName\":\"使用引导\",\"enName\":\"GatewayIntro\",\"href\":\"/manual/microservice/api-gateway.html\",\"exists\":true},{\"key\":\"Endpoints\",\"cnName\":\"流量入口管理\",\"enName\":\"Endpoints\",\"exists\":false,\"onlyK8S\":true},{\"key\":\"APIs\",\"cnName\":\"微服务API管理\",\"enName\":\"APIs\",\"exists\":false},{\"key\":\"ConsumerACL\",\"cnName\":\"调用方管理\",\"enName\":\"ConsumerACL\",\"exists\":false,\"onlyK8S\":true},{\"key\":\"OldPolicies\",\"cnName\":\"API策略\",\"enName\":\"Policies\",\"exists\":false,\"onlyNotK8S\":true},{\"key\":\"OldConsumerACL\",\"cnName\":\"调用者授权\",\"enName\":\"ConsumerACL\",\"exists\":false,\"onlyNotK8S\":true}],\"exists\":true,\"mustExists\":true},{\"key\":\"RegisterCenter\",\"cnName\":\"注册中心\",\"enName\":\"RegisterCenter\",\"children\":[{\"key\":\"RegisterIntro\",\"cnName\":\"使用引导\",\"enName\":\"RegisterIntro\",\"href\":\"/manual/microservice/dubbo.html\",\"exists\":true},{\"key\":\"Services\",\"cnName\":\"服务注册列表\",\"enName\":\"Services\",\"exists\":false}],\"exists\":true,\"mustExists\":true},{\"key\":\"ConfigCenter\",\"cnName\":\"配置中心\",\"enName\":\"ConfigCenter\",\"children\":[{\"key\":\"ConfigIntro\",\"cnName\":\"使用引导\",\"href\":\"/manual/deploy/config-center.html\",\"enName\":\"ConfigIntro\",\"exists\":true},{\"key\":\"Configs\",\"cnName\":\"配置管理\",\"enName\":\"Configs\",\"exists\":false}],\"exists\":true,\"mustExists\":true},{\"key\":\"ComponentInfo\",\"cnName\":\"组件信息\",\"enName\":\"ComponentInfo\",\"children\":[],\"exists\":true,\"mustExists\":true}]','2021-05-28 11:30:25','2021-05-28 13:53:56','N'),(2,'MK_config-center','','ConfigCenter','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(3,'MK_JUMP_config-center','','Configs','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(4,'MK_monitor','','AppMonitor','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(5,'MK_JUMP_monitor','','Overview','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(6,'MK_registercenter','','RegisterCenter','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(7,'MK_JUMP_registercenter','','Services','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(8,'MK_api-gateway','','APIGateway','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(9,'MK_JUMP_api-gateway','','APIs','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(10,'MK_JUMP_micro-service','','Overview','2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(11,'MK_log-analytics','','LogAnalyze','2020-11-14 22:44:55','2020-11-14 22:44:55','N'); @@ -306,7 +306,7 @@ CREATE TABLE `tb_tmc_instance` ( `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', `is_custom` varchar(1) NOT NULL DEFAULT 'N' COMMENT '是否为第三方', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微服务组件部署实例信息'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微服务组件部署实例信息'; CREATE TABLE `tb_tmc_instance_tenant` ( `id` varchar(64) NOT NULL COMMENT '租户唯一id', @@ -320,7 +320,7 @@ CREATE TABLE `tb_tmc_instance_tenant` ( `engine` varchar(128) DEFAULT NULL COMMENT '内核', `az` varchar(128) DEFAULT NULL COMMENT '集群', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微服务组件租户信息'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微服务组件租户信息'; CREATE TABLE `tb_tmc_request_relation` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id', @@ -330,7 +330,7 @@ CREATE TABLE `tb_tmc_request_relation` ( `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微服务组件部署过程依赖关系'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微服务组件部署过程依赖关系'; CREATE TABLE `tb_tmc_version` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id', @@ -341,7 +341,7 @@ CREATE TABLE `tb_tmc_version` ( `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` varchar(1) NOT NULL DEFAULT 'N' COMMENT '逻辑删除', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 COMMENT='微服务组件版本元信息'; +) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COMMENT='微服务组件版本元信息'; INSERT INTO `tb_tmc_version` (`id`, `engine`, `version`, `release_id`, `create_time`, `update_time`, `is_deleted`) VALUES (1,'micro-service','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(2,'config-center','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(3,'monitor','3.6',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(4,'registercenter','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(5,'api-gateway','3.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 13:53:54','N'),(6,'nacos','1.1.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(7,'mysql','5.7.23',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(8,'zookeeper','3.4.10',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(9,'etcd','3.3.12',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(10,'zkproxy','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(11,'postgresql','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(12,'log-analytics','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(13,'acl','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(14,'acl','1.0.1',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(15,'trantor','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(16,'notice-center','1.0.0',NULL,'2021-05-28 11:30:25','2021-05-28 11:30:25','N'),(17,'service-mesh','1.0.0',NULL,'2021-05-28 11:54:53','2021-05-28 11:54:53','N'),(18,'registercenter','2.0.0',NULL,'2021-05-28 11:54:53','2021-05-28 11:54:53','N'),(19,'monitor-zk','3.4.10',NULL,'2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(20,'monitor-kafka','2.0.0',NULL,'2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(21,'monitor-collector','1.0.0',NULL,'2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(22,'log-exporter','1.0.0',NULL,'2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(23,'log-es','1.0.0',NULL,'2021-05-28 11:54:54','2021-05-28 11:54:54','N'),(24,'log-analytics','2.0.0',NULL,'2021-05-28 11:54:54','2021-05-28 11:54:54','N'); diff --git a/.erda/migrations/orchestrator/20210528-orchestrator-base.sql b/.erda/migrations/orchestrator/20210528-orchestrator-base.sql index 90f79a2d80f..a39f0afeb30 100644 --- a/.erda/migrations/orchestrator/20210528-orchestrator-base.sql +++ b/.erda/migrations/orchestrator/20210528-orchestrator-base.sql @@ -31,7 +31,7 @@ CREATE TABLE `ps_runtime_instances` PRIMARY KEY (`id`), KEY `idx_service_id` (`service_id`), KEY `idx_instance_id` (`instance_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='runtime对应instance信息'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='runtime对应instance信息'; CREATE TABLE `ps_runtime_services` ( @@ -94,7 +94,7 @@ CREATE TABLE `ps_v2_domains` `use_https` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `unique_domain_key` (`domain`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT DYNAMIC COMMENT='Dice 域名表'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT DYNAMIC COMMENT='Dice 域名表'; CREATE TABLE `ps_v2_pre_builds` ( @@ -142,7 +142,7 @@ CREATE TABLE `ps_v2_project_runtimes` `org_id` bigint(20) NOT NULL COMMENT '企业ID', PRIMARY KEY (`id`), UNIQUE KEY `idx_unique_app_id_name` (`name`,`application_id`,`workspace`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='runtime信息'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='runtime信息'; CREATE TABLE `tb_addon_instance_tenant` ( diff --git a/.erda/migrations/orchestrator/20220704-runtime-service-hpa-rule.sql b/.erda/migrations/orchestrator/20220704-runtime-service-hpa-rule.sql index b564652222a..9f68969cbb7 100644 --- a/.erda/migrations/orchestrator/20220704-runtime-service-hpa-rule.sql +++ b/.erda/migrations/orchestrator/20220704-runtime-service-hpa-rule.sql @@ -42,7 +42,7 @@ CREATE TABLE `erda_v2_runtime_hpa` `applied` varchar(1) NOT NULL DEFAULT 'N' COMMENT '规则是否已使用', `soft_deleted_at` bigint(20) NOT NULL DEFAULT 0 COMMENT '删除时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Runtime HPA信息'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Runtime HPA信息'; /* CREATE TABLE `erda_v2_runtime_hpa_events` @@ -57,5 +57,5 @@ CREATE TABLE `erda_v2_runtime_hpa_events` `event` text NOT NULL COMMENT 'hpa event 摘要 json 缓存', `soft_deleted_at` bigint(20) NOT NULL DEFAULT 0 COMMENT '删除时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Runtime HPA Event 信息'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Runtime HPA Event 信息'; */ diff --git a/.erda/migrations/orchestrator/20220729-runtime-service-vpa.sql b/.erda/migrations/orchestrator/20220729-runtime-service-vpa.sql index 062e85963af..4806492176d 100644 --- a/.erda/migrations/orchestrator/20220729-runtime-service-vpa.sql +++ b/.erda/migrations/orchestrator/20220729-runtime-service-vpa.sql @@ -42,7 +42,7 @@ CREATE TABLE `erda_v2_runtime_vpa_rule` `applied` varchar(1) NOT NULL DEFAULT 'N' COMMENT '规则是否已使用', `soft_deleted_at` bigint(20) NOT NULL DEFAULT 0 COMMENT '删除时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Runtime VPA Rule 信息'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Runtime VPA Rule 信息'; CREATE TABLE `erda_v2_runtime_vpa_recommendation` ( @@ -74,4 +74,4 @@ CREATE TABLE `erda_v2_runtime_vpa_recommendation` `uncapped_memory_request` decimal(10, 3) NOT NULL DEFAULT 0 COMMENT 'VPA 推荐无限制情况下 Memory 请求', `soft_deleted_at` bigint(20) NOT NULL DEFAULT 0 COMMENT '删除时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Runtime VPA Container Recommendation 信息'; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Runtime VPA Container Recommendation 信息'; \ No newline at end of file diff --git a/.erda/migrations/pipeline/20210528-pipeline-base.sql b/.erda/migrations/pipeline/20210528-pipeline-base.sql index 577d1750dd1..0646801dcd8 100644 --- a/.erda/migrations/pipeline/20210528-pipeline-base.sql +++ b/.erda/migrations/pipeline/20210528-pipeline-base.sql @@ -27,7 +27,7 @@ CREATE TABLE `ci_v3_build_caches` PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `idx_cluster_name` (`cluster_name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='buildpack action 使用的构建缓存'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='buildpack action 使用的构建缓存'; CREATE TABLE `dice_pipeline_cms_configs` (