{"id":123991,"date":"2026-11-08T16:01:26","date_gmt":"2026-11-08T08:01:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/123991.html"},"modified":"2026-11-08T16:01:26","modified_gmt":"2026-11-08T08:01:26","slug":"%e4%bb%8e%e5%91%8a%e8%ad%a6%e9%a3%8e%e6%9a%b4%e5%88%b0%e6%a0%b9%e5%9b%a0%e5%ae%9a%e4%bd%8d%ef%bc%9ajava-vue-%e6%8c%87%e6%a0%87%e5%bc%82%e5%b8%b8%e6%a3%80%e6%b5%8b%e4%b8%8e%e6%8b%93%e6%89%91%e6%ba%af","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/123991.html","title":{"rendered":"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f"},"content":{"rendered":"<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"373\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54527f9.jpg\" width=\"662\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u5168\u94fe\u8def\u53ef\u89c2\u6d4b\u8bca\u65ad\u4e3b\u9898\u5c01\u9762<\/p>\n<h2 style=\"text-align:center\">\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d&#xff1a;Java &#043; Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218<\/h2>\n<h2 style=\"text-align:center\"><span style=\"color:#176da6\">\u52a8\u6001\u57fa\u7ebf<\/span><span style=\"color:#176da6\"> \u00b7 <\/span><span style=\"color:#176da6\">\u591a\u6307\u6807\u8054\u52a8<\/span><span style=\"color:#176da6\"> \u00b7 <\/span><span style=\"color:#176da6\">\u670d\u52a1\u4f9d\u8d56\u56fe<\/span><span style=\"color:#176da6\"> \u00b7 <\/span><span style=\"color:#176da6\">\u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f<\/span><\/h2>\n<p>\u00a0Java &#xff5c; Vue3 &#xff5c; Spring Boot &#xff5c; \u5f02\u5e38\u68c0\u6d4b &#xff5c; \u6839\u56e0\u5206\u6790 &#xff5c; \u62d3\u6251\u6eaf\u6e90 &#xff5c; \u5fae\u670d\u52a1\u76d1\u63a7 &#xff5c; \u65f6\u5e8f\u6570\u636e &#xff5c; \u53ef\u89c2\u6d4b\u6027 &#xff5c; ECharts<\/p>\n<p>\u00a0\u6570\u636e\u5e93\u8fde\u63a5\u6c60\u63a5\u8fd1\u4e0a\u9650&#xff0c;\u4e3a\u4ec0\u4e48\u4f1a\u5f15\u53d1\u8ba2\u5355\u8d85\u65f6\u3001\u7f51\u5173\u9519\u8bef\u7387\u5347\u9ad8&#xff1f;\u56fa\u5b9a\u9608\u503c\u53ea\u80fd\u62a5\u8b66&#xff0c;\u5374\u96be\u89e3\u91ca\u6545\u969c\u8d77\u70b9\u3002\u672c\u6587\u57fa\u4e8e Java &#043; Vue \u6784\u5efa\u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u6839\u56e0\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf&#xff0c;\u89e3\u6790\u6307\u6807\u5bf9\u9f50\u3001\u6ed1\u52a8\u7a97\u53e3 Z-Score\u3001IQR\u3001\u591a\u6307\u6807\u4e8b\u4ef6\u5173\u8054\u3001\u6709\u5411\u56fe\u53cd\u5411 BFS \u4e0e\u6839\u56e0\u6392\u5e8f\u3002\u901a\u8fc7\u5e26\u6709\u4f20\u64ad\u5ef6\u8fdf\u7684\u6a21\u62df\u6545\u969c&#xff0c;\u5c55\u793a\u5f02\u5e38\u8bc6\u522b\u3001\u8def\u5f84\u68c0\u7d22\u3001\u5019\u9009\u8bc4\u5206\u4e0e Vue \u53ef\u89c6\u5316\u8bc1\u636e&#xff0c;\u63d0\u4f9b Java \u6838\u5fc3\u5b9e\u73b0\u3001\u63a5\u53e3\u6a21\u578b\u3001\u6570\u636e\u8868\u548c\u6d4b\u8bd5\u65ad\u8a00\u3002\u540c\u65f6\u8ba8\u8bba\u91c7\u96c6\u7f3a\u5931\u3001\u65f6\u949f\u504f\u5dee\u3001\u62d3\u6251\u53d8\u66f4\u3001\u591a\u6839\u56e0\u7b49\u5de5\u7a0b\u8fb9\u754c&#xff0c;\u5f3a\u8c03\u8bca\u65ad\u7ed3\u679c\u4e0d\u4ec5\u9700\u8981\u7ed9\u51fa\u65b9\u5411&#xff0c;\u66f4\u9700\u8981\u4fdd\u7559\u53ef\u590d\u6838\u7684\u8bc1\u636e\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>01&#xff5c;\u5982\u679c\u4e00\u5206\u949f\u5185\u51fa\u73b0\u5341\u6761\u544a\u8b66&#xff0c;\u4f60\u4f1a\u5148\u4fee\u54ea\u91cc&#xff1f;<\/h2>\n<p>09:42&#xff0c;\u8ba2\u5355\u6570\u636e\u5e93\u8fde\u63a5\u6c60\u4f7f\u7528\u7387\u5f00\u59cb\u6301\u7eed\u4e0a\u5347&#xff1b;20 \u79d2\u540e&#xff0c;\u8ba2\u5355\u63a5\u53e3\u5ef6\u8fdf\u6076\u5316&#xff1b;\u518d\u8fc7 20 \u79d2&#xff0c;\u652f\u4ed8\u94fe\u8def\u51fa\u73b0\u8d85\u65f6&#xff1b;\u76f4\u5230 09:43&#xff0c;\u7f51\u5173\u9519\u8bef\u7387\u660e\u663e\u5347\u9ad8\u3002\u82e5\u8fd0\u7ef4\u9762\u677f\u6309\u201c\u6700\u65b0\u3001\u6700\u4e25\u91cd\u201d\u6392\u5e8f&#xff0c;\u7f51\u5173\u53ef\u80fd\u88ab\u653e\u5728\u7b2c\u4e00\u4f4d&#xff0c;\u4f46\u5b83\u672a\u5fc5\u662f\u6545\u969c\u8d77\u70b9\u3002<\/p>\n<p>\u8fd9\u79cd\u8bef\u5224\u6765\u81ea\u4e00\u4e2a\u5e38\u89c1\u76f2\u533a&#xff1a;\u76d1\u63a7\u7cfb\u7edf\u770b\u89c1\u4e86\u6545\u969c\u8868\u73b0&#xff0c;\u5374\u6ca1\u6709\u628a\u6307\u6807\u65f6\u95f4\u5e8f\u5217\u4e0e\u670d\u52a1\u4f9d\u8d56\u5173\u7cfb\u653e\u5728\u540c\u4e00\u6761\u8bc1\u636e\u94fe\u4e0a\u3002\u4fee\u590d\u4e00\u4e2a\u88ab\u6ce2\u53ca\u7684\u7f51\u5173\u5b9e\u4f8b&#xff0c;\u6709\u65f6\u53ea\u80fd\u6682\u65f6\u6d88\u9664\u8868\u9762\u75c7\u72b6\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c546a5ba.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u5c06\u591a\u6761\u544a\u8b66\u5173\u8054\u4e3a\u540c\u4e00\u4e8b\u4ef6\u7684\u601d\u8def\u793a\u610f<\/p>\n<h3>\u8fd9\u7bc7\u5b9e\u6218\u8981\u89e3\u51b3\u7684\u56db\u4e2a\u95ee\u9898<\/h3>\n<p>\u7b2c\u4e00&#xff0c;\u4ec0\u4e48\u6837\u7684\u6ce2\u52a8\u9700\u8981\u5173\u6ce8&#xff1f;\u7528\u968f\u65f6\u95f4\u66f4\u65b0\u7684\u5386\u53f2\u57fa\u7ebf\u66ff\u4ee3\u4e00\u628a\u56fa\u5b9a\u9608\u503c\u3002\u7b2c\u4e8c&#xff0c;\u591a\u4e2a\u544a\u8b66\u662f\u5426\u5c5e\u4e8e\u540c\u4e00\u4e8b\u4ef6&#xff1f;\u7528\u65f6\u95f4\u7a97\u53e3\u3001\u6307\u6807\u65b9\u5411\u548c\u62d3\u6251\u5173\u8054\u5b8c\u6210\u805a\u5408\u3002\u7b2c\u4e09&#xff0c;\u6545\u969c\u6700\u53ef\u80fd\u4ece\u54ea\u91cc\u5f00\u59cb&#xff1f;\u4ece\u5f02\u5e38\u8282\u70b9\u56de\u6eaf\u4f9d\u8d56\u5173\u7cfb&#xff0c;\u518d\u6bd4\u8f83\u65f6\u95f4\u5148\u540e\u3002\u7b2c\u56db&#xff0c;\u4e3a\u4ec0\u4e48\u63a8\u8350\u8fd9\u4e2a\u6839\u56e0&#xff1f;\u9010\u9879\u5c55\u793a\u5206\u6570\u4f9d\u636e\u3001\u4f20\u64ad\u8def\u5f84\u548c\u53cd\u8bc1\u3002<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#e9f6f8;width:501.1pt\">\n<p><span style=\"color:#167b88\">\u9605\u8bfb\u4e3b\u7ebf<\/span>\u00a0 \u5148\u5224\u65ad\u6570\u636e\u662f\u5426\u53ef\u4fe1&#xff0c;\u518d\u8bc6\u522b\u5f02\u5e38&#xff1b;\u5148\u9a8c\u8bc1\u662f\u5426\u76f8\u5173&#xff0c;\u518d\u8ba8\u8bba\u53ef\u80fd\u7684\u56e0\u679c\u94fe&#xff1b;\u6700\u540e\u628a\u7ed3\u8bba\u4ea4\u7ed9\u4eba\u5de5\u786e\u8ba4\u4e0e\u590d\u76d8\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<h2>02&#xff5c;\u5148\u770b\u5168\u666f&#xff1a;\u516d\u9879\u6838\u5fc3\u80fd\u529b\u5982\u4f55\u7ec4\u6210\u95ed\u73af<\/h2>\n<p>\u7cfb\u7edf\u7531 Java \u540e\u7aef\u627f\u63a5\u91c7\u96c6\u3001\u68c0\u6d4b\u3001\u4e8b\u4ef6\u5173\u8054\u3001\u56fe\u8ba1\u7b97\u3001\u6839\u56e0\u8bc4\u5206\u4e0e\u6301\u4e45\u5316&#xff1b;Vue \u524d\u7aef\u8d1f\u8d23\u8d8b\u52bf\u3001\u62d3\u6251\u3001\u89e3\u91ca\u9762\u677f\u548c\u4e8b\u4ef6\u5904\u7406\u3002\u76d1\u63a7\u6570\u636e\u53ef\u4ee5\u6765\u81ea Prometheus\u3001\u5e94\u7528\u4fa7\u6307\u6807\u3001\u6570\u636e\u5e93\u72b6\u6001\u4ee5\u53ca\u94fe\u8def\u8ffd\u8e2a\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c547e8c9.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u6307\u6807\u63a5\u5165\u2014\u68c0\u6d4b\u2014\u5173\u8054\u2014\u6eaf\u6e90\u2014\u5904\u7f6e\u7684\u5b8c\u6574\u6570\u636e\u94fe\u8def<\/p>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u80fd\u529b<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u8f93\u5165<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u5173\u952e\u4ea7\u51fa<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:93.6pt\">\n<p><span style=\"color:#17324b\">\u7edf\u4e00\u6307\u6807<\/span><\/p>\n<\/td>\n<td style=\"width:180.0pt\">\n<p><span style=\"color:#17324b\">\u8282\u70b9\u3001\u540d\u79f0\u3001\u65f6\u95f4\u3001\u6570\u503c\u3001\u6807\u7b7e<\/span><\/p>\n<\/td>\n<td style=\"width:212.4pt\">\n<p><span style=\"color:#17324b\">\u53ef\u6bd4\u5bf9\u7684\u65f6\u5e8f\u5e8f\u5217<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:93.6pt\">\n<p><span style=\"color:#17324b\">\u5f02\u5e38\u68c0\u6d4b<\/span><\/p>\n<\/td>\n<td style=\"width:180.0pt\">\n<p><span style=\"color:#17324b\">\u5386\u53f2\u7a97\u53e3\u3001\u5f53\u524d\u91c7\u6837\u503c<\/span><\/p>\n<\/td>\n<td style=\"width:212.4pt\">\n<p><span style=\"color:#17324b\">\u5f02\u5e38\u5206\u6570\u4e0e\u68c0\u6d4b\u4f9d\u636e<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:93.6pt\">\n<p><span style=\"color:#17324b\">\u4e8b\u4ef6\u805a\u5408<\/span><\/p>\n<\/td>\n<td style=\"width:180.0pt\">\n<p><span style=\"color:#17324b\">\u65f6\u95f4\u90bb\u8fd1\u3001\u5173\u8054\u670d\u52a1<\/span><\/p>\n<\/td>\n<td style=\"width:212.4pt\">\n<p><span style=\"color:#17324b\">\u6709\u8fb9\u754c\u7684\u5f02\u5e38\u4e8b\u4ef6<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:93.6pt\">\n<p><span style=\"color:#17324b\">\u62d3\u6251\u5206\u6790<\/span><\/p>\n<\/td>\n<td style=\"width:180.0pt\">\n<p><span style=\"color:#17324b\">\u8c03\u7528\u4e0e\u8d44\u6e90\u4f9d\u8d56<\/span><\/p>\n<\/td>\n<td style=\"width:212.4pt\">\n<p><span style=\"color:#17324b\">\u5019\u9009\u6e90\u5934\u53ca\u53d7\u5f71\u54cd\u8303\u56f4<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:93.6pt\">\n<p><span style=\"color:#17324b\">\u6839\u56e0\u6392\u5e8f<\/span><\/p>\n<\/td>\n<td style=\"width:180.0pt\">\n<p><span style=\"color:#17324b\">\u4e94\u7c7b\u5f52\u4e00\u5316\u7279\u5f81<\/span><\/p>\n<\/td>\n<td style=\"width:212.4pt\">\n<p><span style=\"color:#17324b\">\u6392\u5e8f\u7ed3\u679c\u4e0e\u8bc1\u636e\u8be6\u60c5<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:93.6pt\">\n<p><span style=\"color:#17324b\">\u53ef\u89c6\u5316\u95ed\u73af<\/span><\/p>\n<\/td>\n<td style=\"width:180.0pt\">\n<p><span style=\"color:#17324b\">\u4e8b\u4ef6\u3001\u8def\u5f84\u3001\u4eba\u5de5\u786e\u8ba4<\/span><\/p>\n<\/td>\n<td style=\"width:212.4pt\">\n<p><span style=\"color:#17324b\">\u5904\u7406\u72b6\u6001\u4e0e\u590d\u76d8\u8bb0\u5f55<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5de5\u7a0b\u5212\u5206\u8981\u6e05\u6670&#xff1a;\u7edf\u8ba1\u65b9\u6cd5\u544a\u8bc9\u6211\u4eec\u201c\u504f\u79bb\u662f\u5426\u660e\u663e\u201d&#xff0c;\u62d3\u6251\u904d\u5386\u544a\u8bc9\u6211\u4eec\u201c\u54ea\u4e9b\u8282\u70b9\u53ef\u80fd\u6709\u5173\u8054\u201d&#xff0c;\u6839\u56e0\u6a21\u578b\u7efc\u5408\u4e24\u8005\u7ed9\u51fa\u6392\u67e5\u4f18\u5148\u7ea7\u3002\u4e09\u8005\u4e92\u76f8\u8865\u8db3&#xff0c;\u5374\u4e0d\u80fd\u4e92\u76f8\u66ff\u4ee3\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>03&#xff5c;\u7edf\u4e00\u6307\u6807\u6a21\u578b&#xff1a;\u4e0d\u540c\u6765\u6e90\u7684\u6570\u636e\u5148\u8bf4\u540c\u4e00\u79cd\u8bed\u8a00<\/h2>\n<p>\u4e00\u6761\u76d1\u63a7\u6570\u636e\u81f3\u5c11\u5e94\u5305\u542b nodeId\u3001metricName\u3001timestamp\u3001value \u4e0e unit\u3002\u751f\u4ea7\u73af\u5883\u8fd8\u5efa\u8bae\u4fdd\u7559 source\u3001labels\u3001\u91c7\u96c6\u65f6\u95f4\u3001\u63a5\u6536\u65f6\u95f4\u548c\u6570\u636e\u8d28\u91cf\u6807\u8bc6&#xff0c;\u907f\u514d\u540c\u540d\u6307\u6807\u6765\u81ea\u4e0d\u540c\u73af\u5883\u6216\u5355\u4f4d\u9020\u6210\u8bef\u5224\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54952e4.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u6307\u6807\u5b9e\u4f53\u7ed3\u6784\u4e0e\u8d28\u91cf\u95e8\u69db<\/p>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u5b57\u6bb5<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u5178\u578b\u503c<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u7ea6\u675f<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:99.35pt\">\n<p><span style=\"color:#17324b\">nodeId<\/span><\/p>\n<\/td>\n<td style=\"width:174.95pt\">\n<p><span style=\"color:#17324b\">mysql-order<\/span><\/p>\n<\/td>\n<td style=\"width:211.7pt\">\n<p><span style=\"color:#17324b\">\u552f\u4e00\u7a33\u5b9a\u7684\u8d44\u6e90\u6807\u8bc6<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:99.35pt\">\n<p><span style=\"color:#17324b\">metricName<\/span><\/p>\n<\/td>\n<td style=\"width:174.95pt\">\n<p><span style=\"color:#17324b\">db_connections<\/span><\/p>\n<\/td>\n<td style=\"width:211.7pt\">\n<p><span style=\"color:#17324b\">\u6307\u6807\u547d\u540d\u7edf\u4e00<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:99.35pt\">\n<p><span style=\"color:#17324b\">timestamp<\/span><\/p>\n<\/td>\n<td style=\"width:174.95pt\">\n<p><span style=\"color:#17324b\">ISO 8601 <\/span><span style=\"color:#17324b\">\u65f6\u95f4<\/span><\/p>\n<\/td>\n<td style=\"width:211.7pt\">\n<p><span style=\"color:#17324b\">\u7edf\u4e00\u65f6\u533a\u4e0e\u91c7\u6837\u7c92\u5ea6<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:99.35pt\">\n<p><span style=\"color:#17324b\">value<\/span><\/p>\n<\/td>\n<td style=\"width:174.95pt\">\n<p><span style=\"color:#17324b\">94.0<\/span><\/p>\n<\/td>\n<td style=\"width:211.7pt\">\n<p><span style=\"color:#17324b\">\u6709\u9650\u6570\u503c&#xff0c;\u8303\u56f4\u6821\u9a8c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:99.35pt\">\n<p><span style=\"color:#17324b\">unit<\/span><\/p>\n<\/td>\n<td style=\"width:174.95pt\">\n<p><span style=\"color:#17324b\">\u4e2a<\/span><span style=\"color:#17324b\"> \/ ms \/ %<\/span><\/p>\n<\/td>\n<td style=\"width:211.7pt\">\n<p><span style=\"color:#17324b\">\u7981\u6b62\u6df7\u7528\u5355\u4f4d<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:99.35pt\">\n<p><span style=\"color:#17324b\">labels<\/span><\/p>\n<\/td>\n<td style=\"width:174.95pt\">\n<p><span style=\"color:#17324b\">env&#061;demo<\/span><\/p>\n<\/td>\n<td style=\"width:211.7pt\">\n<p><span style=\"color:#17324b\">\u63a7\u5236\u6807\u7b7e\u57fa\u6570<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5bf9\u4e00\u4e2a\u5f02\u5e38\u4e8b\u4ef6&#xff0c;\u8bb0\u5f55\u201c\u539f\u59cb\u6307\u6807\u5feb\u7167 &#043; \u5f53\u65f6\u62d3\u6251\u5feb\u7167\u201d\u5c24\u4e3a\u91cd\u8981\u3002\u82e5\u53ea\u5b58\u6700\u65b0\u4f9d\u8d56\u56fe&#xff0c;\u6545\u969c\u590d\u76d8\u65f6\u53ef\u80fd\u628a\u540e\u6765\u65b0\u589e\u7684\u8c03\u7528\u94fe\u8bef\u8ba4\u4f5c\u5f53\u65f6\u7684\u4f20\u64ad\u8def\u5f84\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>04&#xff5c;\u5982\u4f55\u63a5\u5165\u6570\u636e&#xff1a;\u5148\u7a33\u5b9a\u91c7\u6837&#xff0c;\u518d\u8c08\u667a\u80fd\u68c0\u6d4b<\/h2>\n<h3>4.1 \u76d1\u63a7\u91c7\u96c6\u5efa\u8bae<\/h3>\n<p>\u91c7\u96c6\u63a5\u53e3\u5e94\u652f\u6301\u6309\u670d\u52a1\u4e0e\u6307\u6807\u7b5b\u9009&#xff0c;\u6309\u56fa\u5b9a\u6b65\u957f\u62c9\u53d6\u5386\u53f2\u7a97\u53e3&#xff1b;\u5982\u679c\u4f7f\u7528 Prometheus&#xff0c;\u5efa\u8bae\u901a\u8fc7 PromQL \u67e5\u8be2 Counter \u7684\u901f\u7387\u3001Gauge \u7684\u73b0\u503c\u4ee5\u53ca\u5ef6\u8fdf\u76f4\u65b9\u56fe\u5206\u4f4d\u6570&#xff0c;\u907f\u514d\u628a\u7d2f\u52a0\u91cf\u76f4\u63a5\u4f5c\u4e3a\u77ac\u65f6\u901f\u7387\u3002<\/p>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;<\/span><span style=\"color:#176da6\">PromQL <\/span><span style=\"color:#176da6\">\u7edf\u8ba1\u8bf7\u6c42\u901f\u7387\u548c\u9519\u8bef\u5360\u6bd4<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p># \u793a\u4f8b&#xff1a;\u8fd1\u4e94\u5206\u949f HTTP \u8bf7\u6c42\u901f\u7387<br \/>\nsum by (service) (rate(http_server_requests_seconds_count[5m]))<\/p>\n<p># \u793a\u4f8b&#xff1a;\u6309\u670d\u52a1\u4f30\u8ba1\u4e94\u5206\u949f\u9519\u8bef\u7387<br \/>\nsum by (service) (rate(http_server_requests_seconds_count{status&#061;~&#034;5..&#034;}[5m]))<br \/>\n\/<br \/>\nclamp_min(sum by (service) (rate(http_server_requests_seconds_count[5m])), 1e-9)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>4.2 \u6307\u6807\u63a5\u5165\u4e0e\u5bf9\u9f50\u7ea6\u5b9a<\/h3>\n<p>\u5bf9\u63a5\u5165\u6a21\u5757\u8bbe\u5b9a\u7edf\u4e00\u5951\u7ea6&#xff1a;\u2460\u670d\u52a1\u5668\u65f6\u95f4\u7528 UTC \u5b58\u50a8&#xff0c;\u9875\u9762\u6309\u9605\u8bfb\u65f6\u533a\u663e\u793a&#xff1b;\u2461\u4ee5\u56fa\u5b9a\u65f6\u95f4\u6876\u805a\u5408&#xff0c;\u4fdd\u7559\u6876\u5185\u6837\u672c\u6570&#xff1b;\u2462\u5b9e\u65f6\u8ba1\u7b97\u4e0d\u7eb3\u5165\u672a\u6765\u65f6\u95f4\u6233&#xff1b;\u2463\u65e0\u6cd5\u786e\u8ba4\u5355\u4f4d\u548c\u7c7b\u578b\u7684\u6570\u636e\u8fdb\u5165\u9694\u79bb\u533a&#xff0c;\u800c\u4e0d\u662f\u8fdb\u5165\u6839\u56e0\u8ba1\u7b97\u3002<\/p>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u5e38\u89c1\u95ee\u9898<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u4e0d\u5efa\u8bae\u505a\u6cd5<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u66f4\u7a33\u59a5\u7684\u5904\u7406<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:90.0pt\">\n<p><span style=\"color:#17324b\">\u4e71\u5e8f\u6570\u636e<\/span><\/p>\n<\/td>\n<td style=\"width:169.2pt\">\n<p><span style=\"color:#17324b\">\u6309\u5230\u8fbe\u987a\u5e8f\u8ba1\u7b97<\/span><\/p>\n<\/td>\n<td style=\"width:8.0cm\">\n<p><span style=\"color:#17324b\">\u6309\u4e8b\u4ef6\u65f6\u95f4\u6392\u5e8f&#xff0c;\u8bbe\u7f6e\u8fdf\u5230\u5bb9\u5fcd<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:90.0pt\">\n<p><span style=\"color:#17324b\">\u7f3a\u5931\u91c7\u6837<\/span><\/p>\n<\/td>\n<td style=\"width:169.2pt\">\n<p><span style=\"color:#17324b\">\u76f4\u63a5\u586b<\/span><span style=\"color:#17324b\"> 0<\/span><\/p>\n<\/td>\n<td style=\"width:8.0cm\">\n<p><span style=\"color:#17324b\">\u6807\u8bb0\u7f3a\u5931&#xff0c;\u4f9d\u636e\u6307\u6807\u7c7b\u578b\u5904\u7406<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:90.0pt\">\n<p><span style=\"color:#17324b\">Counter <\/span><span style=\"color:#17324b\">\u91cd\u7f6e<\/span><\/p>\n<\/td>\n<td style=\"width:169.2pt\">\n<p><span style=\"color:#17324b\">\u76f4\u63a5\u76f8\u51cf<\/span><\/p>\n<\/td>\n<td style=\"width:8.0cm\">\n<p><span style=\"color:#17324b\">\u901a\u8fc7\u901f\u7387\u51fd\u6570\u5904\u7406\u91cd\u7f6e<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:90.0pt\">\n<p><span style=\"color:#17324b\">\u8de8\u6307\u6807\u5c3a\u5ea6<\/span><\/p>\n<\/td>\n<td style=\"width:169.2pt\">\n<p><span style=\"color:#17324b\">\u76f4\u63a5\u52a0\u603b\u539f\u59cb\u503c<\/span><\/p>\n<\/td>\n<td style=\"width:8.0cm\">\n<p><span style=\"color:#17324b\">\u6309\u6307\u6807\u8bed\u4e49\u5f52\u4e00\u5316<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:90.0pt\">\n<p><span style=\"color:#17324b\">\u9ad8\u57fa\u6570\u6807\u7b7e<\/span><\/p>\n<\/td>\n<td style=\"width:169.2pt\">\n<p><span style=\"color:#17324b\">\u628a\u7528\u6237<\/span><span style=\"color:#17324b\"> ID <\/span><span style=\"color:#17324b\">\u4f5c\u4e3a\u6807\u7b7e<\/span><\/p>\n<\/td>\n<td style=\"width:8.0cm\">\n<p><span style=\"color:#17324b\">\u53ea\u4fdd\u7559\u6709\u9650\u679a\u4e3e\u7ef4\u5ea6<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd9\u91cc\u201c\u6570\u636e\u53ef\u7528\u7387\u201d\u548c\u201c\u68c0\u6d4b\u51c6\u786e\u7387\u201d\u662f\u4e24\u4ef6\u4e8b&#xff1a;\u5982\u679c\u8f93\u5165\u672c\u8eab\u7f3a\u5931\u4e25\u91cd&#xff0c;\u8f93\u51fa\u7684\u6839\u56e0\u5206\u6570\u5373\u4f7f\u5f88\u9ad8&#xff0c;\u4e5f\u4e0d\u80fd\u89c6\u4e3a\u53ef\u4fe1\u7ed3\u8bba\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>05&#xff5c;\u52a8\u6001\u57fa\u7ebf&#xff1a;\u56fa\u5b9a\u9608\u503c\u4e3a\u4ec0\u4e48\u5bb9\u6613\u8bef\u62a5&#xff1f;<\/h2>\n<p>\u56fa\u5b9a\u7684\u201c\u63a5\u53e3\u5ef6\u8fdf\u5927\u4e8e 200 ms\u201d\u9002\u5408\u7b80\u5355\u4fdd\u62a4\u89c4\u5219&#xff0c;\u4f46\u65e0\u6cd5\u8868\u8fbe\u65e5\u5468\u671f\u3001\u6d41\u91cf\u7ed3\u6784\u53d8\u5316\u548c\u6162\u6027\u52a3\u5316\u3002\u52a8\u6001\u57fa\u7ebf\u7684\u57fa\u672c\u601d\u8def\u662f&#xff1a;\u7528\u5f53\u524d\u91c7\u6837\u70b9\u4e4b\u524d\u7684\u4e00\u6bb5\u6b63\u5e38\u5386\u53f2&#xff0c;\u4f30\u8ba1\u5408\u7406\u6ce2\u52a8\u8303\u56f4&#xff0c;\u518d\u8bc4\u4f30\u5f53\u524d\u503c\u504f\u79bb\u4e86\u591a\u5c11\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"309\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54ab4d5.png\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u6ed1\u52a8\u5386\u53f2\u7a97\u53e3\u4e0e\u660e\u663e\u504f\u79bb\u70b9\u7684\u6982\u5ff5\u6f14\u793a<\/p>\n<h3>5.1 Z-Score&#xff1a;\u8ba9\u504f\u79bb\u7a0b\u5ea6\u53ef\u91cf\u5316<\/h3>\n<p>\u7ed9\u5b9a\u5386\u53f2\u7a97\u53e3 x\u2081\u2026x\u2099&#xff0c;\u5747\u503c \u03bc&#061;\u03a3x\u1d62\/n&#xff0c;\u6807\u51c6\u5dee \u03c3&#061;\u221a[\u03a3(x\u1d62\u2212\u03bc)\u00b2\/n]&#xff0c;\u5f53\u524d\u503c y \u7684 Z&#061;(y\u2212\u03bc)\/\u03c3\u3002\u9608\u503c\u5e38\u53d6 |Z|\u22653 \u4f5c\u4e3a\u542f\u53d1\u5f0f\u8d77\u70b9&#xff0c;\u4f46\u9700\u8981\u7ed3\u5408\u6307\u6807\u5206\u5e03\u3001\u7a97\u53e3\u957f\u5ea6\u548c\u8bef\u62a5\u6210\u672c\u6821\u51c6&#xff0c;\u4e0d\u80fd\u4e00\u6982\u7167\u642c\u3002<\/p>\n<p>\u91cd\u8981\u7ec6\u8282&#xff1a;\u5f53\u524d\u70b9\u4e0d\u80fd\u53c2\u4e0e\u7528\u4e8e\u5224\u65ad\u5b83\u81ea\u5df1\u7684\u5386\u53f2\u7a97\u53e3&#xff1b;\u5f53\u7a97\u53e3\u6837\u672c\u4e0d\u8db3\u6216\u6807\u51c6\u5dee\u63a5\u8fd1\u96f6\u65f6&#xff0c;\u5e94\u8fd4\u56de\u201c\u6570\u636e\u4e0d\u8db3\/\u57fa\u7ebf\u4e0d\u7a33\u5b9a\u201d\u72b6\u6001&#xff0c;\u4e0d\u80fd\u8d38\u7136\u751f\u6210\u65e0\u7a77\u5927\u7684\u5f02\u5e38\u7f6e\u4fe1\u5ea6\u3002<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#e9f6f8;width:501.1pt\">\n<p><span style=\"color:#167b88\">\u5b9e\u8df5\u7ecf\u9a8c<\/span>\u00a0 \u628a\u201c\u5f02\u5e38\u5206\u6570\u201d\u548c\u201c\u4e1a\u52a1\u4e25\u91cd\u7a0b\u5ea6\u201d\u5206\u5f00\u3002\u4e00\u4e2a\u76f8\u5bf9\u504f\u79bb\u5f88\u5927\u7684\u4f4e\u6d41\u91cf\u6307\u6807\u4e0d\u4e00\u5b9a\u6bd4\u8ba2\u5355\u6210\u529f\u7387\u7a81\u7136\u4e0b\u6ed1\u66f4\u7d27\u6025\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<h2>06&#xff5c;\u5173\u952e\u4ee3\u7801&#xff1a;\u5065\u58ee\u7248\u6ed1\u52a8\u7a97\u53e3\u68c0\u6d4b\u5668<\/h2>\n<p>\u4ee5\u4e0b\u5b9e\u73b0\u9002\u5408\u8fde\u7eed\u578b\u6307\u6807\u7684\u57fa\u7840\u8bc6\u522b\u3002\u5b83\u663e\u5f0f\u5904\u7406\u7a7a\u503c\u3001\u975e\u6709\u9650\u6570\u503c\u3001\u6700\u5c0f\u6837\u672c\u91cf\u3001\u63a5\u8fd1\u96f6\u7684\u6807\u51c6\u5dee&#xff0c;\u5e76\u8fd4\u56de\u72b6\u6001\u4e0e\u5206\u6570&#xff1b;\u4e1a\u52a1\u5c42\u53ef\u4ee5\u8fdb\u4e00\u6b65\u53e0\u52a0\u6301\u7eed\u7a97\u53e3\u3001\u591a\u6307\u6807\u89c4\u5219\u548c\u544a\u8b66\u53bb\u91cd\u3002<\/p>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;<\/span><span style=\"color:#176da6\">Java 17&#043;<\/span><span style=\"color:#176da6\">&#xff1a;\u57fa\u7840<\/span><span style=\"color:#176da6\"> Z-Score <\/span><span style=\"color:#176da6\">\u68c0\u6d4b\u5668<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>import java.util.List;<\/p>\n<p>public final class ZScoreDetector {<br \/>\n\u00a0 public record Result(String status, double score, boolean anomaly) {}<br \/>\n\u00a0 private final int minSamples;<br \/>\n\u00a0 private final double threshold;<br \/>\n\u00a0 public ZScoreDetector(int minSamples, double threshold) {<br \/>\n\u00a0\u00a0\u00a0 if (minSamples &lt; 5 || threshold &lt;&#061; 0) throw new IllegalArgumentException();<br \/>\n\u00a0\u00a0\u00a0 this.minSamples &#061; minSamples;<br \/>\n\u00a0\u00a0\u00a0 this.threshold &#061; threshold;<br \/>\n\u00a0 }<br \/>\n\u00a0 public Result detect(List&lt;Double&gt; history, double current) {<br \/>\n\u00a0\u00a0\u00a0 if (!Double.isFinite(current) || history &#061;&#061; null<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 || history.size() &lt; minSamples || history.stream()<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 .anyMatch(v -&gt; v &#061;&#061; null || !Double.isFinite(v))) {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 return new Result(&#034;INSUFFICIENT_DATA&#034;, 0, false);<br \/>\n\u00a0\u00a0\u00a0 }<br \/>\n\u00a0\u00a0\u00a0 double mean &#061; history.stream().mapToDouble(Double::doubleValue)<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 .average().orElseThrow();<br \/>\n\u00a0\u00a0\u00a0 double variance &#061; history.stream().mapToDouble(<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 v -&gt; (v &#8211; mean) * (v &#8211; mean)).average().orElse(0);<br \/>\n\u00a0\u00a0\u00a0 if (variance &lt; 1e-12) {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 return new Result(&#034;FLAT_BASELINE&#034;, 0, false);<br \/>\n\u00a0\u00a0\u00a0 }<br \/>\n\u00a0\u00a0\u00a0 double z &#061; (current &#8211; mean) \/ Math.sqrt(variance);<br \/>\n\u00a0\u00a0\u00a0 return new Result(&#034;READY&#034;, z, Math.abs(z) &gt;&#061; threshold);<br \/>\n\u00a0 }<br \/>\n}<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>6.1 \u4f7f\u7528\u4e0e\u6821\u9a8c<\/h3>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;\u96f6\u65b9\u5dee\u7a97\u53e3\u4e0d\u4f1a\u629b\u51fa\u5f02\u5e38\u6216\u4f2a\u9020\u53ef\u4fe1\u5ea6<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>var detector &#061; new ZScoreDetector(20, 3.0);<br \/>\nvar history &#061; java.util.Collections.nCopies(20, 100.0);<br \/>\nvar result &#061; detector.detect(history, 160.0);<br \/>\n\/\/ \u8fd4\u56de FLAT_BASELINE&#xff0c;\u9700\u4ea4\u7531\u7edd\u5bf9\u53d8\u5316 \/ \u4e1a\u52a1\u9608\u503c\u89c4\u5219\u5904\u7406<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u9700\u5904\u7406\u5e73\u7a33\u6307\u6807\u7684\u7a81\u53d8&#xff0c;\u53ef\u53e6\u5916\u5b9a\u4e49\u6709\u4e1a\u52a1\u91cf\u7eb2\u7684\u7edd\u5bf9\u504f\u79fb\u9608\u503c&#xff1b;\u4e0d\u8981\u628a\u65e0\u7a77\u5927\u4f5c\u4e3a\u4e0b\u6e38\u6392\u5e8f\u8f93\u5165&#xff0c;\u5426\u5219\u4f1a\u7834\u574f\u5206\u6570\u5f52\u4e00\u5316\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>07&#xff5c;IQR\u3001\u8d8b\u52bf\u504f\u5dee\u4e0e\u5468\u671f\u6027&#xff1a;\u522b\u7528\u4e00\u79cd\u7b97\u6cd5\u770b\u6240\u6709\u6307\u6807<\/h2>\n<p>\u504f\u6001\u6570\u636e\u6216\u5076\u53d1\u5c16\u5cf0\u8f83\u591a\u65f6&#xff0c;IQR&#xff08;\u56db\u5206\u4f4d\u8ddd&#xff09;\u5f80\u5f80\u6bd4\u5747\u503c\u4e0e\u6807\u51c6\u5dee\u66f4\u7a33\u5065\u3002\u5c06\u5386\u53f2\u7a97\u53e3\u6392\u5e8f&#xff0c;\u53d6 Q1 \u4e0e Q3&#xff0c;IQR&#061;Q3\u2212Q1&#xff0c;\u5e38\u89c1\u56f4\u680f\u4e3a [Q1\u22121.5\u00d7IQR&#xff0c;Q3&#043;1.5\u00d7IQR]\u3002\u8fd9\u91cc\u7684 1.5 \u540c\u6837\u4e0d\u662f\u56fa\u5b9a\u771f\u7406\u3002<\/p>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;\u56db\u5206\u4f4d\u8ddd\u68c0\u6d4b\u4e0e\u7ebf\u6027\u63d2\u503c\u5206\u4f4d\u6570<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>import java.util.List;<br \/>\nimport java.util.ArrayList;<br \/>\nimport java.util.Collections;<\/p>\n<p>public final class IqrDetector {<br \/>\n\u00a0 static double percentile(List&lt;Double&gt; a, double p) {<br \/>\n\u00a0\u00a0\u00a0 double at &#061; p * (a.size() &#8211; 1);<br \/>\n\u00a0\u00a0\u00a0 int lo &#061; (int)Math.floor(at), hi &#061; (int)Math.ceil(at);<br \/>\n\u00a0\u00a0\u00a0 return a.get(lo) * (hi &#8211; at) &#043; a.get(hi) * (at &#8211; lo)<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#043; (lo &#061;&#061; hi ? a.get(lo) : 0);<br \/>\n\u00a0 }<br \/>\n\u00a0 public static boolean anomalous(List&lt;Double&gt; history, double x) {<br \/>\n\u00a0\u00a0\u00a0 if (history &#061;&#061; null || history.size() &lt; 8 || !Double.isFinite(x))<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 return false; \/\/ \u4e1a\u52a1\u5c42\u53e6\u884c\u6807\u8bb0\u6837\u672c\u4e0d\u8db3<br \/>\n\u00a0\u00a0\u00a0 var a &#061; new ArrayList&lt;Double&gt;(history);<br \/>\n\u00a0\u00a0\u00a0 if (a.stream().anyMatch(v -&gt; v &#061;&#061; null || !Double.isFinite(v)))<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 return false;<br \/>\n\u00a0\u00a0\u00a0 Collections.sort(a);<br \/>\n\u00a0\u00a0\u00a0 double q1 &#061; percentile(a, .25), q3 &#061; percentile(a, .75);<br \/>\n\u00a0\u00a0\u00a0 return x &lt; q1 &#8211; 1.5 * (q3 &#8211; q1) || x &gt; q3 &#043; 1.5 * (q3 &#8211; q1);<br \/>\n\u00a0 }<br \/>\n}<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u68c0\u6d4b\u65b9\u6cd5<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u9002\u5408\u573a\u666f<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u4e3b\u8981\u9650\u5236<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:82.8pt\">\n<p><span style=\"color:#17324b\">Z-Score<\/span><\/p>\n<\/td>\n<td style=\"width:178.55pt\">\n<p><span style=\"color:#17324b\">\u7a33\u5b9a\u8fde\u7eed\u5206\u5e03\u3001\u5feb\u901f\u7a81\u53d8<\/span><\/p>\n<\/td>\n<td style=\"width:224.65pt\">\n<p><span style=\"color:#17324b\">\u504f\u6001\u4e0e\u91cd\u5c3e\u6613\u8bef\u62a5<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:82.8pt\">\n<p><span style=\"color:#17324b\">IQR<\/span><\/p>\n<\/td>\n<td style=\"width:178.55pt\">\n<p><span style=\"color:#17324b\">\u504f\u6001\u3001\u5076\u53d1\u6781\u503c<\/span><\/p>\n<\/td>\n<td style=\"width:224.65pt\">\n<p><span style=\"color:#17324b\">\u5c0f\u6837\u672c\u4e0e\u96f6<\/span><span style=\"color:#17324b\"> IQR <\/span><span style=\"color:#17324b\">\u9700\u8865\u5145\u89c4\u5219<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:82.8pt\">\n<p><span style=\"color:#17324b\">\u8d8b\u52bf\u659c\u7387<\/span><\/p>\n<\/td>\n<td style=\"width:178.55pt\">\n<p><span style=\"color:#17324b\">\u8fde\u63a5\u6570\u7f13\u6162\u4e0a\u5347<\/span><\/p>\n<\/td>\n<td style=\"width:224.65pt\">\n<p><span style=\"color:#17324b\">\u5b63\u8282\u6027\u53d8\u5316\u53ef\u80fd\u8bef\u5224<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:82.8pt\">\n<p><span style=\"color:#17324b\">\u540c\u5468\u671f\u57fa\u7ebf<\/span><\/p>\n<\/td>\n<td style=\"width:178.55pt\">\n<p><span style=\"color:#17324b\">\u65e5\u5468\u671f\u3001\u5468\u5468\u671f\u6307\u6807<\/span><\/p>\n<\/td>\n<td style=\"width:224.65pt\">\n<p><span style=\"color:#17324b\">\u9700\u8981\u8db3\u591f\u5386\u53f2\u4e0e\u8282\u5f8b\u4e00\u81f4\u6027<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<h2>08&#xff5c;\u591a\u6307\u6807\u8054\u5408&#xff1a;\u628a\u5b64\u7acb\u5f02\u5e38\u5347\u7ea7\u4e3a\u4e8b\u4ef6<\/h2>\n<p>\u5355\u4e2a\u63a5\u53e3\u5ef6\u8fdf\u4e0a\u5347&#xff0c;\u53ef\u80fd\u53ea\u662f\u77ed\u6682\u6296\u52a8&#xff1b;\u4f46\u5f53\u8fde\u63a5\u6c60\u6c34\u4f4d\u6301\u7eed\u5347\u9ad8\u3001\u8ba2\u5355\u5ef6\u8fdf\u968f\u540e\u6076\u5316\u3001\u7f51\u5173\u9519\u8bef\u7387\u518d\u4e0a\u5347&#xff0c;\u8de8\u8282\u70b9\u3001\u8de8\u6307\u6807\u7684\u5171\u540c\u53d8\u5316\u5c31\u503c\u5f97\u91cd\u70b9\u5173\u6ce8\u3002\u5173\u952e\u5728\u4e8e\u201c\u540c\u4e00\u65f6\u95f4\u8f74 &#043; \u5408\u7406\u65f6\u6ede &#043; \u771f\u5b9e\u4f9d\u8d56\u201d\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"362\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54c1556.png\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u6784\u9020\u7684\u591a\u6307\u6807\u6545\u969c\u65f6\u5e8f&#xff0c;\u5c55\u793a\u65f6\u95f4\u987a\u5e8f\u800c\u975e\u56e0\u679c\u5b9a\u8bba<\/p>\n<h3>\u4e8b\u4ef6\u5408\u5e76\u7684\u4e09\u6761\u89c4\u5219<\/h3>\n<p>\u65f6\u95f4&#xff1a;\u76f8\u90bb\u5f02\u5e38\u843d\u5728\u5141\u8bb8\u4f20\u64ad\u65f6\u6ede\u5185&#xff0c;\u65f6\u95f4\u7a97\u53e3\u8fc7\u5bbd\u4f1a\u628a\u4e0d\u76f8\u5173\u4e8b\u4ef6\u9519\u8bef\u5408\u5e76\u3002\u62d3\u6251&#xff1a;\u8282\u70b9\u5b58\u5728\u53ef\u8fbe\u4f9d\u8d56\u8def\u5f84&#xff0c;\u6216\u8005\u5171\u4eab\u540c\u4e00\u57fa\u7840\u8d44\u6e90\u3002\u6307\u6807&#xff1a;\u5f02\u5e38\u65b9\u5411\u5177\u6709\u4e1a\u52a1\u89e3\u91ca&#xff0c;\u4f8b\u5982\u8fde\u63a5\u6c60\u8d1f\u8f7d\u5347\u9ad8\u4e0e\u63a5\u53e3\u5ef6\u8fdf\u4e0a\u5347\u53ef\u4ee5\u5171\u540c\u652f\u6301\u201c\u8d44\u6e90\u7ade\u4e89\u201d\u5047\u8bbe\u3002<\/p>\n<p>\u4e8b\u4ef6\u5bf9\u8c61\u53ef\u4ee5\u4fdd\u5b58 firstSeen\u3001lastSeen\u3001affectedNodes\u3001anomalies\u3001candidateCauses \u548c evidence\u3002\u544a\u8b66\u89c4\u5219\u8bbe\u5b9a\u89c2\u5bdf\u3001\u8b66\u544a\u3001\u4e25\u91cd\u4e09\u4e2a\u7ea7\u522b&#xff0c;\u4e8b\u4ef6\u5347\u7ea7\u65f6\u66f4\u65b0\u540c\u4e00\u4e8b\u4ef6\u800c\u975e\u91cd\u590d\u53d1\u6d88\u606f\u3002<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#e9f6f8;width:501.1pt\">\n<p><span style=\"color:#167b88\">\u91cd\u8981\u533a\u522b<\/span>\u00a0 \u591a\u4e2a\u6307\u6807\u540c\u65f6\u5f02\u5e38&#xff0c;\u53ea\u662f\u589e\u5f3a\u5173\u8054\u8bc1\u636e&#xff1b;\u8981\u63a8\u65ad\u6839\u56e0&#xff0c;\u8fd8\u9700\u8981\u7b26\u5408\u4f9d\u8d56\u65b9\u5411\u548c\u65f6\u95f4\u9886\u5148\u5173\u7cfb&#xff0c;\u5e76\u5bf9\u5171\u540c\u5916\u56e0\u8fdb\u884c\u6392\u67e5\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<h2>09&#xff5c;\u6709\u5411\u62d3\u6251&#xff1a;\u5148\u628a\u7bad\u5934\u65b9\u5411\u8bb2\u6e05\u695a<\/h2>\n<p>\u7ea6\u5b9a\u8fb9 A\u2192B \u8868\u793a A \u8c03\u7528\u6216\u4f9d\u8d56 B\u3002\u8ba2\u5355\u670d\u52a1\u2192\u8ba2\u5355\u6570\u636e\u5e93&#xff0c;\u610f\u5473\u7740\u8ba2\u5355\u6570\u636e\u5e93\u51fa\u95ee\u9898\u53ef\u80fd\u5f71\u54cd\u8ba2\u5355\u670d\u52a1&#xff1b;\u8981\u6cbf\u6f5c\u5728\u6545\u969c\u4f20\u64ad\u65b9\u5411\u5bfb\u627e\u53d7\u5f71\u54cd\u8282\u70b9&#xff0c;\u5c31\u9700\u8981\u53cd\u5411\u904d\u5386\u8fd9\u6761\u4f9d\u8d56\u8fb9\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54d787f.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u8c03\u7528\u4f9d\u8d56\u56fe&#xff1a;\u4ece\u4e1a\u52a1\u8282\u70b9\u5230\u8d44\u6e90\u8282\u70b9<\/p>\n<p>\u8282\u70b9\u53ef\u4ee5\u662f\u670d\u52a1\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u3001\u6d88\u606f\u961f\u5217\u3001\u5bb9\u5668\u6216\u8bbe\u5907&#xff0c;\u8fb9\u5e94\u6807\u6ce8\u4f9d\u8d56\u7c7b\u578b\u3001\u8c03\u7528\u91cf\u3001\u89c2\u6d4b\u65f6\u95f4\u3001\u6743\u91cd\u548c\u8bc1\u636e\u6765\u6e90\u3002\u4ec5\u51ed\u540d\u79f0\u76f8\u4f3c\u81ea\u52a8\u62fc\u63a5\u8282\u70b9&#xff0c;\u53ef\u80fd\u9020\u6210\u9519\u8bef\u4f20\u64ad\u94fe&#xff0c;\u56e0\u6b64 nodeId \u5e94\u6709\u7a33\u5b9a\u7684\u6620\u5c04\u89c4\u5219\u3002<\/p>\n<h3>\u62d3\u6251\u6570\u636e\u8868\u5efa\u8bae<\/h3>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;\u62d3\u6251\u8fb9\u8868&#xff1a;\u4fdd\u7559\u65b9\u5411\u4e0e\u89c2\u6d4b\u65f6\u523b<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>CREATE TABLE topology_edge (<br \/>\n\u00a0 id BIGINT PRIMARY KEY,<br \/>\n\u00a0 source_node_id VARCHAR(128) NOT NULL,<br \/>\n\u00a0 target_node_id VARCHAR(128) NOT NULL,<br \/>\n\u00a0 edge_type VARCHAR(32) NOT NULL,<br \/>\n\u00a0 weight DECIMAL(6,4) NOT NULL DEFAULT 1,<br \/>\n\u00a0 observed_at TIMESTAMP NOT NULL,<br \/>\n\u00a0 INDEX idx_source (source_node_id),<br \/>\n\u00a0 INDEX idx_target (target_node_id)<br \/>\n);<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u82e5\u67d0\u670d\u52a1\u5b9e\u9645\u8c03\u7528\u94fe\u5b58\u5728\u5faa\u73af\u4f9d\u8d56&#xff0c;\u56fe\u904d\u5386\u5fc5\u987b\u7ef4\u62a4 visited \u96c6\u5408&#xff1b;\u82e5\u62d3\u6251\u52a8\u6001\u53d8\u5316&#xff0c;\u8fd8\u9700\u4fdd\u5b58\u4e8b\u4ef6\u53d1\u751f\u65f6\u7684\u7248\u672c&#xff0c;\u907f\u514d\u590d\u76d8\u65f6\u201c\u56fe\u548c\u6545\u969c\u4e0d\u662f\u540c\u4e00\u65f6\u523b\u201d\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>10&#xff5c;\u53cd\u5411 BFS&#xff1a;\u4ece\u6570\u636e\u5e93\u8282\u70b9\u627e\u51fa\u6f5c\u5728\u5f71\u54cd\u9762<\/h2>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"309\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54ecb45.jpg\" width=\"595\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u4ece\u5019\u9009\u6570\u636e\u5e93\u51fa\u53d1\u7684\u53cd\u5411\u4f9d\u8d56\u5f71\u54cd\u8303\u56f4\u793a\u610f<\/p>\n<p>BFS&#xff08;\u5e7f\u5ea6\u4f18\u5148\u904d\u5386&#xff09;\u80fd\u591f\u6309\u5c42\u6b21\u679a\u4e3e\u6240\u6709\u53ef\u80fd\u53d7\u5f71\u54cd\u7684\u4e0a\u6e38\u4f9d\u8d56\u8282\u70b9&#xff0c;\u590d\u6742\u5ea6\u7ea6 O(V&#043;E)\u3002\u4f46\u201c\u56fe\u4e0a\u53ef\u8fbe\u201d\u4e0d\u7b49\u4e8e\u201c\u5b9e\u9645\u53d7\u5f71\u54cd\u201d&#xff1b;\u6700\u7ec8\u8fd8\u8981\u68c0\u67e5\u8be5\u8282\u70b9\u5728\u5bf9\u5e94\u65f6\u95f4\u7a97\u53e3\u662f\u5426\u771f\u7684\u5f02\u5e38\u3002<\/p>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;<\/span><span style=\"color:#176da6\">Java<\/span><span style=\"color:#176da6\">&#xff1a;\u53cd\u5411\u90bb\u63a5\u8868\u4e0a\u7684<\/span><span style=\"color:#176da6\"> BFS<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>import java.util.*;<\/p>\n<p>public final class ImpactAnalyzer {<br \/>\n\u00a0 public static Set&lt;String&gt; affected(String root,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 Map&lt;String, List&lt;String&gt;&gt; reverseGraph) {<br \/>\n\u00a0\u00a0\u00a0 Set&lt;String&gt; visited &#061; new LinkedHashSet&lt;&gt;();<br \/>\n\u00a0\u00a0\u00a0 Queue&lt;String&gt; pending &#061; new ArrayDeque&lt;&gt;();<br \/>\n\u00a0\u00a0\u00a0 visited.add(root);<br \/>\n\u00a0\u00a0\u00a0 pending.add(root);<br \/>\n\u00a0\u00a0\u00a0 while (!pending.isEmpty()) {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 String node &#061; pending.remove();<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 for (String caller : reverseGraph.getOrDefault(node, List.of())) {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 if (visited.add(caller)) pending.add(caller);<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 }<br \/>\n\u00a0\u00a0\u00a0 }<br \/>\n\u00a0\u00a0\u00a0 visited.remove(root);<br \/>\n\u00a0\u00a0\u00a0 return visited;<br \/>\n\u00a0 }<br \/>\n}<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e24\u79cd\u904d\u5386\u4e0d\u8981\u6df7\u6dc6&#xff1a;\u4ece\u7f51\u5173\u6cbf\u8c03\u7528\u65b9\u5411\u641c\u7d22\u53ef\u7591\u5e95\u5c42\u4f9d\u8d56&#xff0c;\u7528\u6b63\u5411\u56fe&#xff1b;\u4ece\u6570\u636e\u5e93\u6cbf\u5f71\u54cd\u65b9\u5411\u67e5\u627e\u8c01\u53ef\u80fd\u88ab\u6ce2\u53ca&#xff0c;\u7528\u53cd\u5411\u56fe\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>11&#xff5c;\u6839\u56e0\u6392\u5e8f&#xff1a;\u4e0d\u662f\u8c01\u6700\u7ea2&#xff0c;\u8c01\u5c31\u662f\u6839\u56e0<\/h2>\n<p>\u7efc\u5408\u5206\u6570\u4f7f\u7528\u4e94\u7c7b\u5f52\u4e00\u5316\u7279\u5f81&#xff1a;\u5f02\u5e38\u5f3a\u5ea6 A\u3001\u65f6\u95f4\u9886\u5148\u5ea6 T\u3001\u62d3\u6251\u91cd\u8981\u5ea6 G\u3001\u5f02\u5e38\u8986\u76d6\u5ea6 C\u3001\u5386\u53f2\u4f50\u8bc1 H\u3002\u4e00\u4e2a\u6e05\u6670\u3001\u53ef\u89e3\u91ca\u7684\u57fa\u7840\u7248\u672c\u4e3a S&#061;0.30A&#043;0.25T&#043;0.20G&#043;0.15C&#043;0.10H&#xff0c;\u6bcf\u9879\u5747\u9650\u5236\u5728 [0,1]\u3002\u6743\u91cd\u662f\u9879\u76ee\u793a\u4f8b\u53c2\u6570&#xff0c;\u9700\u4f9d\u636e\u5b9e\u9645\u8bef\u62a5\u6210\u672c\u8c03\u4f18\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"311\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080125-6af02c550c26c.png\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u4e09\u4e2a\u5019\u9009\u8282\u70b9\u7684\u8bc4\u5206\u5206\u89e3\u793a\u4f8b<\/p>\n<h3>\u8bc4\u5206\u4e2d\u6700\u5bb9\u6613\u5ffd\u7565\u7684\u4e24\u4e2a\u9677\u9631<\/h3>\n<p>\u5176\u4e00&#xff0c;\u65f6\u95f4\u9886\u5148\u4e0d\u5e94\u53ea\u6bd4\u8f83\u91c7\u96c6\u5230\u8fbe\u65f6\u95f4&#xff0c;\u800c\u5e94\u5c3d\u91cf\u4f7f\u7528\u4e8b\u4ef6\u65f6\u95f4\u5e76\u8003\u8651\u65f6\u949f\u504f\u5dee\u3002\u5176\u4e8c&#xff0c;\u5386\u53f2\u9891\u6b21\u53ef\u80fd\u5f15\u5165\u201c\u8001\u95ee\u9898\u603b\u88ab\u4f18\u5148\u63a8\u8350\u201d\u7684\u504f\u5dee&#xff0c;\u5386\u53f2\u4f50\u8bc1\u5fc5\u987b\u4f4e\u6743\u91cd\u3001\u53ef\u56de\u9000&#xff0c;\u5e76\u5728\u8bc1\u636e\u4e0d\u8db3\u65f6\u964d\u4f4e\u7ed3\u8bba\u5f3a\u5ea6\u3002<\/p>\n<p>\u793a\u610f\u8ba1\u7b97&#xff1a;\u8ba2\u5355\u6570\u636e\u5e93\u5f97\u5206 0.894&#xff0c;\u8ba2\u5355\u670d\u52a1 0.654&#xff0c;\u652f\u4ed8\u670d\u52a1 0.557\u3002\u8fd9\u91cc\u7684 0.894 \u662f\u5019\u9009\u4e4b\u95f4\u7684\u6392\u5e8f\u5206\u6570&#xff0c;\u4e0d\u662f\u5df2\u7ecf\u6821\u51c6\u7684 89.4% \u6545\u969c\u6982\u7387&#xff0c;\u66f4\u4e0d\u662f\u751f\u4ea7\u73af\u5883\u7684\u5b9a\u4f4d\u6210\u529f\u7387\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>12&#xff5c;\u4e00\u573a\u6545\u969c\u5982\u4f55\u5b8c\u6210\u6839\u56e0\u5206\u6790&#xff1a;\u9010\u79d2\u8fd8\u539f<\/h2>\n<p>\u4e0b\u9762\u4f7f\u7528\u4eba\u4e3a\u6784\u9020\u7684\u4e8b\u4ef6\u5e8f\u5217\u6f14\u793a&#xff1a;\u516d\u4e2a\u8d44\u6e90\u8282\u70b9\u3001\u4e09\u7c7b\u6838\u5fc3\u4e1a\u52a1\u5f02\u5e38&#xff0c;\u5728\u5171\u540c\u91c7\u6837\u65f6\u95f4\u8f74\u4e0a\u6ce8\u5165\u6709\u4f20\u64ad\u987a\u5e8f\u7684\u504f\u79bb\u3002\u4e3a\u4e86\u9a8c\u8bc1\u6a21\u578b\u903b\u8f91&#xff0c;\u6ce8\u5165\u6545\u969c\u7684\u8282\u70b9\u4e0e\u65f6\u95f4\u88ab\u4e8b\u5148\u6807\u8bb0\u4e3a\u201c\u5bf9\u7167\u7b54\u6848\u201d\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080125-6af02c551dff7.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u6784\u9020\u7684\u8d44\u6e90\u5f02\u5e38\u2014\u670d\u52a1\u9000\u5316\u2014\u7528\u6237\u53ef\u89c1\u95ee\u9898\u65f6\u95f4\u7ebf<\/p>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u65f6\u523b<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u89c2\u6d4b\u53d8\u5316<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u63a8\u7406\u4f5c\u7528<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">09:42:00<\/span><\/p>\n<\/td>\n<td style=\"width:216.0pt\">\n<p><span style=\"color:#17324b\">\u6570\u636e\u5e93\u8fde\u63a5\u6570\u4e0a\u5347<\/span><\/p>\n<\/td>\n<td style=\"width:183.6pt\">\n<p><span style=\"color:#17324b\">\u6700\u65e9\u5f02\u5e38\u5019\u9009<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">09:42:20<\/span><\/p>\n<\/td>\n<td style=\"width:216.0pt\">\n<p><span style=\"color:#17324b\">\u8ba2\u5355\u670d\u52a1\u5ef6\u8fdf\u4e0a\u5347<\/span><\/p>\n<\/td>\n<td style=\"width:183.6pt\">\n<p><span style=\"color:#17324b\">\u53cd\u5411\u4f9d\u8d56\u53ef\u8fbe\u3001\u65f6\u95f4\u540e\u53d1<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">09:42:40<\/span><\/p>\n<\/td>\n<td style=\"width:216.0pt\">\n<p><span style=\"color:#17324b\">\u652f\u4ed8\u670d\u52a1\u8d85\u65f6\u589e\u52a0<\/span><\/p>\n<\/td>\n<td style=\"width:183.6pt\">\n<p><span style=\"color:#17324b\">\u7b2c\u4e8c\u6761\u53d7\u5f71\u54cd\u4e1a\u52a1\u8def\u5f84<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">09:43:00<\/span><\/p>\n<\/td>\n<td style=\"width:216.0pt\">\n<p><span style=\"color:#17324b\">\u7f51\u5173\u9519\u8bef\u7387\u4e0a\u5347<\/span><\/p>\n<\/td>\n<td style=\"width:183.6pt\">\n<p><span style=\"color:#17324b\">\u7528\u6237\u53ef\u89c1\u5c42\u9762\u7684\u540e\u7eed\u75c7\u72b6<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5148\u4ece\u7f51\u5173\u6cbf\u6b63\u5411\u4f9d\u8d56\u56fe\u68c0\u7d22\u6570\u636e\u5e93&#xff0c;\u518d\u4ece\u6570\u636e\u5e93\u6cbf\u53cd\u5411\u56fe\u627e\u5230\u8ba2\u5355\u3001\u652f\u4ed8\u548c\u7f51\u5173&#xff1b;\u8fc7\u6ee4\u672a\u53d1\u751f\u5f02\u5e38\u7684\u8def\u5f84\u8282\u70b9&#xff1b;\u6700\u540e\u7ed3\u5408\u65f6\u5e8f\u9886\u5148\u3001\u8986\u76d6\u6bd4\u4f8b\u4e0e\u5f02\u5e38\u5f3a\u5ea6\u8ba1\u7b97\u5019\u9009\u6392\u5e8f\u3002\u82e5\u6570\u636e\u5e93\u4e0e\u7f51\u5173\u7684\u91c7\u6837\u65f6\u95f4\u5dee\u6765\u81ea\u91c7\u96c6\u5ef6\u8fdf\u800c\u975e\u771f\u5b9e\u53d8\u5316&#xff0c;\u5206\u6790\u7ed3\u679c\u5fc5\u987b\u4fdd\u7559\u8fd9\u4e2a\u4e0d\u786e\u5b9a\u6027\u3002<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#e9f6f8;width:501.1pt\">\n<p><span style=\"color:#167b88\">\u4e8b\u4ef6\u8be6\u60c5\u5e94\u5448\u73b0<\/span>\u00a0 \u63a8\u8350\u5019\u9009\u3001\u89e6\u53d1\u6307\u6807\u3001\u6700\u65e9\u5f02\u5e38\u65f6\u95f4\u3001\u53ef\u8fbe\u8def\u5f84\u3001\u8bc4\u5206\u5206\u89e3\u3001\u5176\u4ed6\u53ef\u80fd\u539f\u56e0&#xff0c;\u4ee5\u53ca\u4eba\u5de5\u786e\u8ba4\u4e0e\u5426\u5b9a\u7406\u7531\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<h2>13&#xff5c;Spring Boot \u540e\u7aef&#xff1a;\u6700\u5c0f\u63a5\u53e3\u95ed\u73af<\/h2>\n<p>\u540e\u7aef\u804c\u8d23\u5206\u4e3a MetricIngestService\u3001AnomalyDetectionService\u3001EventCorrelationService\u3001TopologyService\u3001RootCauseService \u548c IncidentService\u3002HTTP \u5c42\u53ea\u8d1f\u8d23\u6821\u9a8c\u53c2\u6570\u4e0e\u8fd4\u56de\u7ed3\u679c&#xff0c;\u7b97\u6cd5\u4e0d\u5e94\u6df7\u5199\u5728 Controller \u4e2d\u3002<\/p>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u63a5\u53e3<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u65b9\u6cd5<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u7528\u9014<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:198.0pt\">\n<p><span style=\"color:#17324b\">\/api\/v1\/metrics<\/span><\/p>\n<\/td>\n<td style=\"width:54.0pt\">\n<p><span style=\"color:#17324b\">POST<\/span><\/p>\n<\/td>\n<td style=\"width:234.0pt\">\n<p><span style=\"color:#17324b\">\u63a5\u6536\u5355\u6279\u6307\u6807<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:198.0pt\">\n<p><span style=\"color:#17324b\">\/api\/v1\/events<\/span><\/p>\n<\/td>\n<td style=\"width:54.0pt\">\n<p><span style=\"color:#17324b\">GET<\/span><\/p>\n<\/td>\n<td style=\"width:234.0pt\">\n<p><span style=\"color:#17324b\">\u5206\u9875\u67e5\u8be2\u4e8b\u4ef6<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:198.0pt\">\n<p><span style=\"color:#17324b\">\/api\/v1\/topology<\/span><\/p>\n<\/td>\n<td style=\"width:54.0pt\">\n<p><span style=\"color:#17324b\">GET<\/span><\/p>\n<\/td>\n<td style=\"width:234.0pt\">\n<p><span style=\"color:#17324b\">\u8bfb\u53d6\u6307\u5b9a\u65f6\u523b\u62d3\u6251<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:198.0pt\">\n<p><span style=\"color:#17324b\">\/api\/v1\/events\/{id}\/causes<\/span><\/p>\n<\/td>\n<td style=\"width:54.0pt\">\n<p><span style=\"color:#17324b\">GET<\/span><\/p>\n<\/td>\n<td style=\"width:234.0pt\">\n<p><span style=\"color:#17324b\">\u83b7\u53d6\u6839\u56e0\u6392\u5e8f\u4e0e\u8bc1\u636e<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:198.0pt\">\n<p><span style=\"color:#17324b\">\/api\/v1\/events\/{id}\/confirm<\/span><\/p>\n<\/td>\n<td style=\"width:54.0pt\">\n<p><span style=\"color:#17324b\">POST<\/span><\/p>\n<\/td>\n<td style=\"width:234.0pt\">\n<p><span style=\"color:#17324b\">\u4eba\u5de5\u786e\u8ba4<\/span><span style=\"color:#17324b\"> \/ <\/span><span style=\"color:#17324b\">\u5426\u5b9a\u5019\u9009<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;\u54cd\u5e94\u6a21\u578b\u4e0e\u63a7\u5236\u5668\u65b9\u6cd5\u793a\u610f<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>\/\/ \u4f7f\u7528 Java record \u5b9a\u4e49\u6838\u5fc3\u54cd\u5e94\u5bf9\u8c61<br \/>\npublic record RootCandidate(<br \/>\n\u00a0\u00a0\u00a0 String nodeId, double score,<br \/>\n\u00a0\u00a0\u00a0 java.util.Map&lt;String, Double&gt; evidence,<br \/>\n\u00a0\u00a0\u00a0 java.util.List&lt;String&gt; affectedNodes,<br \/>\n\u00a0\u00a0\u00a0 java.util.List&lt;String&gt; propagationPath) {}<\/p>\n<p>public record RootCauseResponse(<br \/>\n\u00a0\u00a0\u00a0 String eventId, String topologyVersion,<br \/>\n\u00a0\u00a0\u00a0 java.time.Instant analyzedAt,<br \/>\n\u00a0\u00a0\u00a0 java.util.List&lt;RootCandidate&gt; candidates) {}<\/p>\n<p>\/\/ Controller \u53ea\u59d4\u6258\u670d\u52a1&#xff0c;\u670d\u52a1\u8d1f\u8d23\u52a0\u8f7d\u4e8b\u4ef6\u5e76\u6267\u884c\u5206\u6790<br \/>\n&#064;GetMapping(&#034;\/api\/v1\/events\/{id}\/causes&#034;)<br \/>\npublic RootCauseResponse causes(&#064;PathVariable String id) {<br \/>\n\u00a0\u00a0\u00a0 return rootCauseService.analyze(id);<br \/>\n}<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8c03\u7528\u65b9\u8fd8\u9700\u8981\u9274\u6743\u3001\u5e42\u7b49\u3001\u5206\u9875\u3001\u8d85\u65f6\u63a7\u5236\u548c\u5f02\u5e38\u7edf\u4e00\u6620\u5c04\u3002\u6839\u56e0\u5206\u6790\u53ef\u5f02\u6b65\u6267\u884c\u5e76\u4fdd\u5b58\u7248\u672c\u53f7&#xff0c;\u907f\u514d\u6bcf\u6b21\u6253\u5f00\u8be6\u60c5\u9875\u90fd\u91cd\u590d\u626b\u63cf\u5b8c\u6574\u62d3\u6251\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>14&#xff5c;\u524d\u7aef\u754c\u9762&#xff1a;\u628a\u6392\u5e8f\u5206\u6570\u53d8\u6210\u53ef\u8bfb\u7684\u5224\u65ad\u4f9d\u636e<\/h2>\n<p>\u8bca\u65ad\u9875\u9762\u5e76\u975e\u7b80\u5355\u5806\u79ef\u6298\u7ebf\u56fe\u3002\u66f4\u5408\u7406\u7684\u7ec4\u7ec7\u662f&#xff1a;\u5de6\u4fa7\u9009\u62e9\u5f02\u5e38\u4e8b\u4ef6&#xff0c;\u4e2d\u90e8\u540c\u6b65\u663e\u793a\u65f6\u95f4\u66f2\u7ebf\u4e0e\u4f9d\u8d56\u62d3\u6251&#xff0c;\u53f3\u4fa7\u5448\u73b0\u6839\u56e0\u5019\u9009\u53ca\u8bc4\u5206\u5206\u89e3\u3002\u9009\u4e2d\u67d0\u6761\u8def\u5f84\u65f6&#xff0c;\u66f2\u7ebf\u5e94\u8054\u52a8\u9ad8\u4eae\u5bf9\u5e94\u8282\u70b9\u7684\u5f02\u5e38\u65f6\u523b\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080125-6af02c553175a.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;Vue \u8bca\u65ad\u9a7e\u9a76\u8231\u5e03\u5c40\u793a\u610f&#xff0c;\u6570\u503c\u6765\u81ea\u6784\u9020\u6848\u4f8b<\/p>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;<\/span><span style=\"color:#176da6\">Vue \/ ECharts Graph <\/span><span style=\"color:#176da6\">\u7684\u6838\u5fc3\u914d\u7f6e<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>const option &#061; {<br \/>\n\u00a0 tooltip: { trigger: &#039;item&#039; },<br \/>\n\u00a0 series: [{<br \/>\n\u00a0\u00a0\u00a0 type: &#039;graph&#039;, layout: &#039;none&#039;, roam: true,<br \/>\n\u00a0\u00a0\u00a0 edgeSymbol: [&#039;none&#039;, &#039;arrow&#039;],<br \/>\n\u00a0\u00a0\u00a0 label: { show: true, position: &#039;inside&#039; },<br \/>\n\u00a0\u00a0\u00a0 data: nodes.map(n &#061;&gt; ({<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 name: n.name, x: n.x, y: n.y,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 itemStyle: { color: n.isRoot ? &#039;#E95C63&#039; : &#039;#28A7B2&#039; }<br \/>\n\u00a0\u00a0\u00a0 })),<br \/>\n\u00a0\u00a0\u00a0 links: edges.map(e &#061;&gt; ({ source: e.source, target: e.target }))<br \/>\n\u00a0 }]<br \/>\n};<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ea4\u4e92\u72b6\u6001\u8981\u4e92\u76f8\u540c\u6b65&#xff1a;\u5207\u6362\u65f6\u95f4\u6bb5\u65f6\u5e94\u91cd\u67e5\u62d3\u6251\u7248\u672c&#xff1b;\u5207\u6362\u6839\u56e0\u5019\u9009\u65f6\u7a81\u51fa\u8def\u5f84\u5e76\u5237\u65b0\u53f3\u4fa7\u8bc1\u636e&#xff1b;\u4e8b\u4ef6\u5df2\u786e\u8ba4\u540e\u5e94\u5c55\u793a\u786e\u8ba4\u8005\u3001\u5904\u7406\u65f6\u523b\u548c\u56de\u9000\u7406\u7531\u3002\u989c\u8272\u4e0d\u80fd\u4f5c\u4e3a\u552f\u4e00\u4fe1\u53f7&#xff0c;\u9700\u540c\u65f6\u4fdd\u7559\u56fe\u6807\u4e0e\u6587\u5b57\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>15&#xff5c;\u4e94\u4e07\u6761\u6a21\u62df\u6307\u6807\u5982\u4f55\u9020\u5f97\u66f4\u50cf\u771f\u5b9e\u573a\u666f&#xff1f;<\/h2>\n<p>\u751f\u6210 50,000 \u6761\u8bb0\u5f55\u6709\u52a9\u4e8e\u68c0\u9a8c\u6279\u5904\u7406\u3001\u5206\u9875\u548c\u6570\u636e\u5bfc\u5165&#xff0c;\u4f46\u5355\u9760\u201c\u6bcf\u9694\u56fa\u5b9a\u884c\u53f7\u968f\u673a\u653e\u5927\u67d0\u4e2a\u503c\u201d&#xff0c;\u4e0d\u80fd\u5f97\u5230\u53ef\u4fe1\u7684\u8de8\u8282\u70b9\u4f20\u64ad\u94fe\u3002\u5c24\u5176\u5f53\u6bcf\u6761\u8bb0\u5f55\u90fd\u9012\u589e 10 \u79d2\u3001\u8282\u70b9\u8f6e\u6d41\u51fa\u73b0\u65f6&#xff0c;\u540c\u4e00\u91c7\u6837\u6876\u5185\u7684\u6307\u6807\u65e0\u6cd5\u771f\u6b63\u5bf9\u9f50\u3002<\/p>\n<h3>15.1 \u66f4\u5408\u7406\u7684\u6a21\u62df\u8bbe\u8ba1<\/h3>\n<p>\u5148\u5b9a\u4e49\u5168\u5c40\u65f6\u95f4\u6805\u683c&#xff0c;\u4f8b\u5982\u6bcf 10 \u79d2\u4e00\u4e2a\u91c7\u6837\u6876&#xff1b;\u5728\u540c\u4e00\u91c7\u6837\u6876\u5185\u4e3a\u6bcf\u4e2a\u8282\u70b9\u5206\u522b\u751f\u6210\u6240\u9700\u6307\u6807\u3002\u6b63\u5e38\u503c\u5e94\u53d7\u5230\u65f6\u95f4\u5468\u671f\u3001\u8d1f\u8f7d\u548c\u968f\u673a\u6270\u52a8\u5f71\u54cd&#xff0c;\u5f02\u5e38\u6ce8\u5165\u5e94\u4f7f\u7528\u660e\u786e\u7684 incidentId \u4e0e\u8d77\u59cb\u65f6\u523b&#xff0c;\u5e76\u6cbf\u62d3\u6251\u8bbe\u7f6e\u4f20\u64ad\u5ef6\u8fdf\u3002<\/p>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u7ef4\u5ea6<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u63a8\u8350\u65b9\u5f0f<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u76ee\u7684<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">\u65f6\u95f4<\/span><\/p>\n<\/td>\n<td style=\"width:194.4pt\">\n<p><span style=\"color:#17324b\">\u7edf\u4e00<\/span><span style=\"color:#17324b\"> timestamp<\/span><span style=\"color:#17324b\">&#xff0c;\u6309\u6876\u751f\u6210\u591a\u8282\u70b9\u8bb0\u5f55<\/span><\/p>\n<\/td>\n<td style=\"width:205.2pt\">\n<p><span style=\"color:#17324b\">\u652f\u6301\u8de8\u670d\u52a1\u5173\u8054<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">\u968f\u673a\u6027<\/span><\/p>\n<\/td>\n<td style=\"width:194.4pt\">\n<p><span style=\"color:#17324b\">\u56fa\u5b9a<\/span><span style=\"color:#17324b\"> seed<\/span><span style=\"color:#17324b\">&#xff0c;\u540c\u65f6\u4fdd\u7559\u6270\u52a8\u5e45\u5ea6<\/span><\/p>\n<\/td>\n<td style=\"width:205.2pt\">\n<p><span style=\"color:#17324b\">\u652f\u6301\u91cd\u590d\u5b9e\u9a8c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">\u6b63\u5e38\u6a21\u5f0f<\/span><\/p>\n<\/td>\n<td style=\"width:194.4pt\">\n<p><span style=\"color:#17324b\">\u5468\u671f<\/span><span style=\"color:#17324b\"> &#043; <\/span><span style=\"color:#17324b\">\u8d8b\u52bf<\/span><span style=\"color:#17324b\"> &#043; <\/span><span style=\"color:#17324b\">\u5c0f\u566a\u58f0<\/span><\/p>\n<\/td>\n<td style=\"width:205.2pt\">\n<p><span style=\"color:#17324b\">\u9a8c\u8bc1\u52a8\u6001\u57fa\u7ebf<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">\u6545\u969c\u6ce8\u5165<\/span><\/p>\n<\/td>\n<td style=\"width:194.4pt\">\n<p><span style=\"color:#17324b\">\u660e\u786e\u6839\u56e0\u3001\u65f6\u6ede\u3001\u6301\u7eed\u65f6\u957f<\/span><\/p>\n<\/td>\n<td style=\"width:205.2pt\">\n<p><span style=\"color:#17324b\">\u68c0\u9a8c\u53cd\u5411\u4f20\u64ad<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">\u6807\u7b7e<\/span><\/p>\n<\/td>\n<td style=\"width:194.4pt\">\n<p><span style=\"color:#17324b\">groundTruthRoot<\/span><span style=\"color:#17324b\">\u3001<\/span><span style=\"color:#17324b\">incidentId<\/span><\/p>\n<\/td>\n<td style=\"width:205.2pt\">\n<p><span style=\"color:#17324b\">\u8ba1\u7b97\u771f\u5b9e\u8bc4\u4f30\u6307\u6807<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:86.4pt\">\n<p><span style=\"color:#17324b\">\u8d28\u91cf\u6270\u52a8<\/span><\/p>\n<\/td>\n<td style=\"width:194.4pt\">\n<p><span style=\"color:#17324b\">\u589e\u52a0\u4e22\u5305\u3001\u4e71\u5e8f\u548c\u91cd\u590d\u573a\u666f<\/span><\/p>\n<\/td>\n<td style=\"width:205.2pt\">\n<p><span style=\"color:#17324b\">\u68c0\u9a8c\u7cfb\u7edf\u5065\u58ee\u6027<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0cm;margin-right:0cm\"><span style=\"color:#176da6\">\u4ee3\u7801&#xff5c;\u7edf\u4e00\u65f6\u95f4\u8f74\u4e0e\u6709\u6807\u7b7e\u6545\u969c\u6ce8\u5165\u9aa8\u67b6<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#f2f6fa;width:501.1pt\">\n<p>\/\/ \u91c7\u6837\u9aa8\u67b6&#xff1a;\u540c\u4e00\u65f6\u95f4\u6876\u5148\u904d\u5386\u6240\u6709\u8282\u70b9<br \/>\nfor (int step &#061; 0; step &lt; sampleSteps; step&#043;&#043;) {<br \/>\n\u00a0 Instant ts &#061; start.plusSeconds(step * 10L);<br \/>\n\u00a0 for (String node : nodes) {<br \/>\n\u00a0\u00a0\u00a0 for (String metric : metricNamesFor(node)) {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 double normal &#061; baseline(node, metric, step, random);<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 double value &#061; incident.inject(node, metric, ts, normal);<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 emit(node, metric, ts, value, incident.groundTruth(node));<br \/>\n\u00a0\u00a0\u00a0 }<br \/>\n\u00a0 }<br \/>\n}<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fb9\u754c\u6821\u9a8c\u4e0d\u53ef\u7701&#xff1a;CPU\u3001\u5185\u5b58\u548c\u767e\u5206\u6bd4\u6307\u6807\u9650\u5b9a\u5408\u7406\u8303\u56f4&#xff1b;\u8bf7\u6c42\u91cf\u3001\u8fde\u63a5\u6570\u7b49\u8ba1\u6570\u6309\u975e\u8d1f\u7ea6\u675f\u5904\u7406&#xff1b;\u4e0d\u540c\u6307\u6807\u4e0d\u8981\u5171\u7528\u540c\u4e00\u500d\u6570\u653e\u5927\u89c4\u5219\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>16&#xff5c;\u5982\u4f55\u9a8c\u8bc1\u201c\u5b9a\u4f4d\u6709\u6548\u201d&#xff0c;\u800c\u4e0d\u662f\u53ea\u770b\u56fe\u6f02\u4eae<\/h2>\n<p>\u6d4b\u8bd5\u4e0d\u5e94\u53ea\u68c0\u67e5 Controller \u8fd4\u56de 200\u3002\u5173\u952e\u5728\u4e8e\u7b97\u6cd5\u8f93\u51fa\u80fd\u5426\u4e0e\u5df2\u6807\u8bb0\u7684\u5408\u6210\u6545\u969c\u539f\u56e0\u3001\u4f20\u64ad\u65f6\u95f4\u548c\u5f71\u54cd\u96c6\u5408\u5bf9\u9f50&#xff0c;\u540c\u65f6\u5728\u6570\u636e\u4e0d\u5145\u5206\u65f6\u4e3b\u52a8\u62d2\u7edd\u505a\u5f3a\u5224\u65ad\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080125-6af02c5545521.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u56db\u7c7b\u5177\u6709\u4ee3\u8868\u6027\u7684\u68c0\u6d4b\u4e0e\u5f52\u56e0\u6d4b\u8bd5\u7528\u4f8b<\/p>\n<h3>16.1 \u56db\u4e2a\u5173\u952e\u6307\u6807<\/h3>\n<p>\u5f02\u5e38\u68c0\u6d4b&#xff1a;Precision&#061;TP\/(TP&#043;FP)&#xff0c;Recall&#061;TP\/(TP&#043;FN)&#xff0c;\u8fd8\u5e94\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u8bef\u62a5\u91cf\u3002\u6839\u56e0\u6392\u5e8f&#xff1a;Top-1\/Top-3 \u547d\u4e2d\u7387&#xff0c;\u8868\u793a\u771f\u5b9e\u6545\u969c\u6e90\u662f\u5426\u8fdb\u5165\u524d 1\/3 \u4e2a\u5019\u9009\u3002\u65f6\u6548\u6027&#xff1a;\u4ece\u6545\u969c\u6ce8\u5165\u5230\u9996\u4e2a\u6709\u6548\u4e8b\u4ef6\u7684\u5ef6\u8fdf\u3002\u89e3\u91ca\u8986\u76d6&#xff1a;\u88ab\u63a8\u8350\u8def\u5f84\u4e2d\u6709\u5b9e\u9645\u5f02\u5e38\u8bc1\u636e\u652f\u6301\u7684\u8282\u70b9\u6bd4\u4f8b\u3002<\/p>\n<p>\u8bc4\u4f30\u65f6\u9700\u8981\u5207\u5206\u573a\u666f&#xff1a;\u5355\u6839\u56e0\u3001\u591a\u6839\u56e0\u3001\u5171\u4eab\u4f9d\u8d56\u3001\u7a81\u53d1\u6d41\u91cf\u3001\u5468\u671f\u4efb\u52a1\u3001\u91c7\u96c6\u5ef6\u8fdf\u4e0e\u62d3\u6251\u7f3a\u8fb9\u3002\u4e0d\u80fd\u628a\u5728\u4e00\u6761\u6f14\u793a\u4e8b\u4ef6\u4e0a\u6392\u5e8f\u6b63\u786e\u5f53\u4f5c\u666e\u904d\u6709\u6548\u3002<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#e9f6f8;width:501.1pt\">\n<p><span style=\"color:#167b88\">\u53ef\u590d\u6838\u7684\u65ad\u8a00<\/span>\u00a0 \u5f53\u6839\u56e0\u8bbe\u4e3a\u8ba2\u5355\u6570\u636e\u5e93\u65f6&#xff0c;\u5176 Top-3 \u5e94\u5305\u542b\u6570\u636e\u5e93&#xff0c;\u4e14\u53cd\u5411\u53ef\u8fbe\u96c6\u5408\u8986\u76d6\u8ba2\u5355\u4e0e\u652f\u4ed8&#xff1b;\u82e5\u79fb\u9664\u6570\u636e\u5e93\u5f02\u5e38\u8bc1\u636e&#xff0c;\u7ed3\u679c\u5e94\u4e3b\u52a8\u4e0b\u964d\u800c\u4e0d\u662f\u7ef4\u6301\u540c\u4e00\u7ed3\u8bba\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<h2>17&#xff5c;\u7cfb\u7edf\u90e8\u7f72&#xff1a;\u4ece\u5355\u4f53\u9a8c\u8bc1\u5230\u5f02\u6b65\u5206\u6790<\/h2>\n<p>\u6700\u5c0f\u90e8\u7f72\u53ef\u4ee5\u662f Spring Boot \u5355\u4f53\u670d\u52a1 &#043; MySQL \u5143\u6570\u636e &#043; Vue \u9875\u9762\u3002\u9700\u8981\u9ad8\u9891\u6307\u6807\u65f6&#xff0c;\u518d\u5f15\u5165\u65f6\u5e8f\u5b58\u50a8&#xff1b;\u9700\u8981\u79d2\u7ea7\u4e8b\u4ef6\u8ba1\u7b97\u548c\u591a\u5b9e\u4f8b\u6c34\u5e73\u6269\u5c55\u65f6&#xff0c;\u518d\u628a\u6444\u5165\u4e0e\u68c0\u6d4b\u62c6\u6210\u5f02\u6b65\u6d88\u8d39\u8005\u3002\u4e0d\u8981\u5728\u9a8c\u8bc1\u9636\u6bb5\u5c31\u5f15\u5165\u8fc7\u591a\u7ec4\u4ef6&#xff0c;\u53cd\u800c\u589e\u52a0\u6545\u969c\u6765\u6e90\u3002<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"334\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080125-6af02c555903c.jpg\" width=\"643\" \/><\/p>\n<p style=\"text-align:center\">\u56fe&#xff5c;\u5206\u5c42\u804c\u8d23\u4e0e\u53ef\u6269\u5c55\u90e8\u7f72\u65b9\u5f0f<\/p>\n<h3>17.1 \u63a5\u53e3\u4e0e\u6570\u636e\u5b89\u5168<\/h3>\n<p>\u8bf7\u6c42\u5199\u5165\u9700\u8981\u9274\u6743\u3001\u9650\u6d41\u548c\u6570\u636e\u4f53\u5927\u5c0f\u9650\u5236&#xff1b;\u6307\u6807\u6807\u7b7e\u4e0d\u5e94\u5e26\u5bc6\u94a5\u3001\u51ed\u636e\u6216\u53ef\u8bc6\u522b\u4e2a\u4eba\u7684\u4fe1\u606f\u3002\u8282\u70b9\u4e0e\u8fb9\u7684\u62d3\u6251\u67e5\u8be2\u53ef\u6309\u73af\u5883\u548c\u89d2\u8272\u6388\u6743&#xff1b;\u8bca\u65ad\u7ed3\u679c\u3001\u4eba\u5de5\u786e\u8ba4\u53ca\u5904\u7f6e\u64cd\u4f5c\u9700\u8981\u5ba1\u8ba1\u8bb0\u5f55\u3002<\/p>\n<h3>17.2 \u53ef\u7528\u6027\u4e0e\u964d\u7ea7<\/h3>\n<p>\u6570\u636e\u5b58\u50a8\u6545\u969c\u65f6&#xff0c;\u7cfb\u7edf\u53ef\u6682\u65f6\u4fdd\u7559\u5b9e\u65f6\u544a\u8b66\u800c\u4e0d\u751f\u6210\u6839\u56e0&#xff1b;\u62d3\u6251\u7f3a\u5931\u65f6\u53ea\u663e\u793a\u5f02\u5e38\u6307\u6807\u5e76\u63d0\u793a\u201c\u65e0\u6cd5\u5b8c\u6210\u62d3\u6251\u6821\u9a8c\u201d&#xff1b;\u8bc4\u5206\u670d\u52a1\u8d85\u65f6\u65f6\u53ef\u8fd4\u56de\u6700\u8fd1\u6210\u529f\u7684\u5206\u6790\u7248\u672c&#xff0c;\u4f46\u5fc5\u987b\u6ce8\u660e\u5206\u6790\u65f6\u95f4&#xff0c;\u9632\u6b62\u65e7\u7ed3\u8bba\u88ab\u8bef\u7528\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>18&#xff5c;\u4e0a\u7ebf\u4e4b\u524d&#xff0c;\u4f18\u5148\u5904\u7406\u8fd9\u516b\u7c7b\u5931\u6548\u6a21\u5f0f<\/h2>\n<table align=\"center\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u98ce\u9669<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u53ef\u89c2\u5bdf\u8868\u73b0<\/span><\/p>\n<\/td>\n<td style=\"background-color:#193b58;width:167.05pt\">\n<p><span style=\"color:white\">\u5904\u7406\u65b9\u5f0f<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u51b7\u542f\u52a8\u7a97\u53e3<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u521a\u63a5\u5165\u65f6\u5927\u91cf\u8bef\u62a5<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u6837\u672c\u4e0d\u8db3\u72b6\u6001\u4e0e\u6700\u5c0f\u7a97\u53e3<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u96f6\u65b9\u5dee\u7a97\u53e3<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u5206\u6570\u65e0\u7a77\u5927\u6216\u8fc7\u654f<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u6781\u5c0f\u65b9\u5dee\u4fdd\u62a4\u4e0e\u7edd\u5bf9\u9608\u503c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u65f6\u949f\u4e0d\u4e00\u81f4<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u5148\u540e\u987a\u5e8f\u98a0\u5012<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u7edf\u4e00\u65f6\u95f4\u6e90\u4e0e\u504f\u5dee\u5bb9\u5fcd<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u62d3\u6251\u9648\u65e7<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u94fe\u8def\u8ffd\u9519\u8d44\u6e90<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u4f9d\u8d56\u8fb9\u7248\u672c\u4e0e\u6709\u6548\u65f6\u6bb5<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u5171\u4eab\u8d44\u6e90\u62e5\u585e<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u591a\u4e2a\u4e1a\u52a1\u540c\u65f6\u5f02\u5e38<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u4f18\u5148\u68c0\u7d22\u5171\u540c\u4f9d\u8d56<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u591a\u6839\u56e0\u540c\u65f6\u53d1\u751f<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u5355\u6839\u56e0\u89e3\u91ca\u8986\u76d6\u4e0d\u8db3<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u5141\u8bb8\u591a\u4e2a\u5019\u9009\u4e0e\u5b50\u4e8b\u4ef6<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u5468\u671f\u6d41\u91cf\u9ad8\u5cf0<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u6bcf\u5929\u540c\u4e00\u65f6\u523b\u8bef\u62a5<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u540c\u5468\u671f\u57fa\u7ebf<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width:84.95pt\">\n<p><span style=\"color:#17324b\">\u6307\u6807\u91c7\u6837\u7f3a\u53e3<\/span><\/p>\n<\/td>\n<td style=\"width:158.4pt\">\n<p><span style=\"color:#17324b\">\u5f02\u5e38\u88ab\u9519\u5f53\u6b63\u5e38<\/span><\/p>\n<\/td>\n<td style=\"width:242.65pt\">\n<p><span style=\"color:#17324b\">\u4fdd\u7559\u7f3a\u5931\u6807\u5fd7\u5e76\u964d\u4f4e\u7ed3\u8bba\u5f3a\u5ea6<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>18.1 \u76d1\u6d4b\u95ed\u73af\u9700\u8981\u54ea\u4e9b\u6301\u4e45\u5316\u8bb0\u5f55&#xff1f;<\/h3>\n<p>\u6bcf\u6b21\u4e8b\u4ef6\u81f3\u5c11\u4fdd\u7559\u4e8b\u4ef6\u65f6\u95f4\u7a97\u53e3\u3001\u5f02\u5e38\u6307\u6807\u6e05\u5355\u3001\u7b97\u6cd5\u53ca\u53c2\u6570\u7248\u672c\u3001\u62d3\u6251\u5feb\u7167\u7248\u672c\u3001\u5019\u9009\u5206\u6570\u5206\u89e3\u3001\u5904\u7f6e\u8bb0\u5f55\u3001\u4eba\u5de5\u786e\u8ba4\u7ed3\u8bba\u3002\u5386\u53f2\u6570\u636e\u53ef\u6309\u4fdd\u7559\u5468\u671f\u5206\u5c42&#xff1a;\u9ad8\u9891\u539f\u59cb\u6307\u6807\u7528\u4e8e\u8fd1\u671f\u5206\u6790&#xff0c;\u4e8b\u4ef6\u6458\u8981\u4e0e\u4eba\u5de5\u53cd\u9988\u7528\u4e8e\u8f83\u957f\u671f\u7684\u6cbb\u7406\u590d\u76d8\u3002<\/p>\n<h3>18.2 \u4eba\u5de5\u786e\u8ba4\u5982\u4f55\u5e2e\u52a9\u6301\u7eed\u6539\u8fdb&#xff1f;<\/h3>\n<p>\u4eba\u5de5\u786e\u8ba4\u5e76\u975e\u70b9\u51fb\u4e00\u4e2a\u201c\u6b63\u786e\u201d\u6309\u94ae\u3002\u5e94\u5141\u8bb8\u6807\u6ce8\u201c\u539f\u56e0\u6210\u7acb\u201d\u201c\u539f\u56e0\u4e0d\u6210\u7acb\u201d\u201c\u591a\u539f\u56e0\u5e76\u5b58\u201d\u201c\u65e0\u6cd5\u786e\u8ba4\u201d&#xff0c;\u5e76\u8bb0\u5f55\u65e5\u5fd7\u6216\u914d\u7f6e\u53d8\u66f4\u7b49\u4f50\u8bc1\u3002\u53ea\u6709\u5e26\u8bc1\u636e\u7684\u590d\u76d8\u624d\u80fd\u7528\u4e8e\u8c03\u6574\u6743\u91cd\u3001\u6821\u51c6\u9608\u503c\u548c\u6bd4\u8f83\u65b0\u65e7\u7b56\u7565\u3002<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"background-color:#e9f6f8;width:501.1pt\">\n<p><span style=\"color:#167b88\">\u8fd0\u884c\u539f\u5219<\/span>\u00a0 \u6839\u56e0\u6392\u5e8f\u662f\u6392\u67e5\u5efa\u8bae&#xff0c;\u4e0d\u662f\u81ea\u52a8\u6267\u884c\u9ad8\u98ce\u9669\u64cd\u4f5c\u7684\u5145\u5206\u4f9d\u636e\u3002\u4efb\u4f55\u91cd\u542f\u3001\u6269\u5bb9\u6216\u6d41\u91cf\u5207\u6362\u90fd\u5e94\u8bbe\u7f6e\u6743\u9650\u3001\u6761\u4ef6\u4e0e\u56de\u9000\u8def\u5f84\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<h2>19&#xff5c;\u4ece\u95ee\u9898\u5230\u9a8c\u8bc1&#xff1a;\u6700\u7ec8\u5f62\u6210\u4e00\u6761\u53ef\u89e3\u91ca\u7684\u8bca\u65ad\u94fe<\/h2>\n<p>\u4ece\u96f6\u642d\u5efa\u8fd9\u7c7b\u7cfb\u7edf&#xff0c;\u96be\u70b9\u5e76\u4e0d\u53ea\u662f Z-Score\u3001IQR \u6216 BFS \u7684\u5355\u9879\u5b9e\u73b0&#xff0c;\u800c\u662f\u4fdd\u8bc1\u8fd9\u4e9b\u6a21\u5757\u5904\u7406\u7684\u662f\u540c\u4e00\u4e8b\u4ef6\u3001\u540c\u4e00\u65f6\u95f4\u5c3a\u5ea6\u548c\u540c\u4e00\u4efd\u4f9d\u8d56\u4e8b\u5b9e\u3002\u68c0\u6d4b\u6a21\u578b\u8ffd\u8e2a\u504f\u79bb&#xff0c;\u56fe\u6a21\u578b\u63cf\u7ed8\u53ef\u80fd\u7684\u5f71\u54cd\u8def\u5f84&#xff0c;\u6839\u56e0\u5206\u6570\u6574\u5408\u8bc1\u636e&#xff0c;\u4eba\u5de5\u590d\u76d8\u6700\u7ec8\u5224\u65ad\u539f\u56e0\u3002<\/p>\n<h3>\u5173\u952e\u80fd\u529b\u56de\u987e<\/h3>\n<p>\u2460 \u91c7\u96c6\u5c42\u5148\u505a\u7edf\u4e00\u65f6\u95f4\u3001\u5355\u4f4d\u548c\u8d28\u91cf\u6821\u9a8c&#xff1b;\u2461 \u68c0\u6d4b\u5c42\u4f7f\u7528\u591a\u4e2a\u4e92\u8865\u89c4\u5219&#xff0c;\u4fdd\u5b58\u5386\u53f2\u7a97\u53e3\u4e0e\u89e6\u53d1\u4f9d\u636e&#xff1b;\u2462 \u5173\u8054\u5c42\u6309\u65f6\u95f4\u3001\u62d3\u6251\u548c\u6307\u6807\u65b9\u5411\u805a\u5408\u4e8b\u4ef6&#xff1b;\u2463 \u56fe\u8ba1\u7b97\u4ee5\u660e\u786e\u7684\u201c\u8c03\u7528\u65b9\u2192\u88ab\u8c03\u7528\u65b9\u201d\u5b9a\u4e49\u4f9d\u8d56\u8fb9&#xff1b;\u2464 \u6839\u56e0\u6a21\u578b\u8f93\u51fa\u6392\u540d\u4e0e\u5206\u9879\u89e3\u91ca&#xff0c;\u62d2\u7edd\u628a\u6392\u5e8f\u5206\u6570\u5f53\u6982\u7387&#xff1b;\u2465 \u524d\u7aef\u628a\u8d8b\u52bf\u3001\u8282\u70b9\u4e0e\u8def\u5f84\u8054\u52a8\u5c55\u793a&#xff1b;\u2466 \u6d4b\u8bd5\u4ee5\u6807\u6ce8\u6839\u56e0\u548c\u591a\u573a\u666f\u65ad\u8a00\u9a8c\u8bc1\u7ed3\u679c\u3002<\/p>\n<h3>\u4e00\u4e2a\u503c\u5f97\u6301\u7eed\u8ffd\u95ee\u7684\u95ee\u9898<\/h3>\n<p>\u5047\u8bbe\u7f51\u5173\u3001\u8ba2\u5355\u4e0e\u652f\u4ed8\u540c\u65f6\u8d85\u65f6&#xff0c;\u7cfb\u7edf\u63a8\u8350\u4e86\u6570\u636e\u5e93\u3002\u9664\u4e86\u770b\u5230\u6570\u636e\u5e93\u8fde\u63a5\u6570\u5148\u5347\u9ad8&#xff0c;\u8fd8\u5e94\u8be5\u8ffd\u95ee&#xff1a;\u662f\u5426\u6070\u597d\u8fdb\u884c\u4e86\u914d\u7f6e\u53d1\u5e03&#xff1f;\u662f\u5426\u5171\u4eab\u7f51\u7edc\u51fa\u73b0\u6296\u52a8&#xff1f;\u6570\u636e\u5e93\u662f\u5426\u53ea\u662f\u4e0e\u5176\u4ed6\u670d\u52a1\u540c\u53d7\u4e00\u4e2a\u5916\u56e0\u5f71\u54cd&#xff1f;\u80fd\u5426\u5728\u8c03\u7528\u94fe\u3001\u65e5\u5fd7\u548c\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u4e2d\u627e\u5230\u652f\u6301\u6216\u53cd\u9a73\u8fd9\u4e00\u7ed3\u8bba\u7684\u8bc1\u636e&#xff1f;<\/p>\n<p>\u80fd\u591f\u4e3b\u52a8\u63d0\u51fa\u8fd9\u4e9b\u95ee\u9898\u7684\u8bca\u65ad\u5e73\u53f0&#xff0c;\u624d\u771f\u6b63\u4ece\u201c\u5c55\u793a\u7ea2\u70b9\u201d\u8d70\u5411\u201c\u5e2e\u52a9\u7406\u89e3\u590d\u6742\u7cfb\u7edf\u201d\u3002<\/p>\n<h3>\u6280\u672f\u8d44\u6599<\/h3>\n<p>Prometheus \u67e5\u8be2\u57fa\u7840&#xff1a;https:\/\/prometheus.io\/docs\/prometheus\/latest\/querying\/basics\/<\/p>\n<p>Prometheus \u6307\u6807\u7c7b\u578b&#xff1a;https:\/\/prometheus.io\/docs\/concepts\/metric_types\/<\/p>\n<p>OpenTelemetry \u4e0a\u4e0b\u6587\u4f20\u64ad&#xff1a;https:\/\/opentelemetry.io\/docs\/concepts\/context-propagation\/<\/p>\n<p>Spring Boot Actuator&#xff1a;https:\/\/docs.spring.io\/spring-boot\/reference\/actuator\/index.html<\/p>\n<p>Apache ECharts \u5173\u7cfb\u56fe&#xff1a;https:\/\/echarts.apache.org\/zh\/option.html#series-graph<\/p>\n<p>\u5bf9\u53ef\u89c2\u6d4b\u7cfb\u7edf\u800c\u8a00&#xff0c;\u6700\u6709\u4ef7\u503c\u7684\u7ed3\u679c\u4e0d\u662f\u201c\u62a5\u4e86\u591a\u5c11\u8b66\u201d&#xff0c;\u800c\u662f\u6bcf\u6b21\u6545\u969c\u90fd\u80fd\u66f4\u5feb\u5730\u63d0\u51fa\u5047\u8bbe\u3001\u627e\u5230\u8bc1\u636e\u3001\u505a\u51fa\u5224\u65ad&#xff0c;\u5e76\u628a\u7ecf\u9a8c\u6c89\u6dc0\u4e3a\u4e0b\u4e00\u6b21\u66f4\u53ef\u9760\u7684\u8bca\u65ad\u80fd\u529b\u3002<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u56fe&#xff5c;\u5168\u94fe\u8def\u53ef\u89c2\u6d4b\u8bca\u65ad\u4e3b\u9898\u5c01\u9762\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d&#xff1a;Java  Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218\u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8fJava &#xff5c; Vue3 &#xff5c; Spring Boot &#xff5c; \u5f02\u5e38\u68c0\u6d4b &#xff5c; \u6839\u56e0\u5206\u6790 &#xff5c; \u62d3\u6251\u6eaf\u6e90 &#xff5c; \u5fae\u670d\u52a1\u76d1\u63a7 &#xff5c; \u65f6\u5e8f\u6570\u636e &#xff5c; \u53ef\u89c2\u6d4b\u6027 &#xff5c; ECharts\u6570\u636e<\/p>\n","protected":false},"author":2,"featured_media":123978,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[12392,99,625,50,190,86],"topic":[],"class_list":["post-123991","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-12392","tag-java","tag-vue-js","tag-50","tag-190","tag-86"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/123991.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u56fe&#xff5c;\u5168\u94fe\u8def\u53ef\u89c2\u6d4b\u8bca\u65ad\u4e3b\u9898\u5c01\u9762\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d&#xff1a;Java Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218\u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8fJava &#xff5c; Vue3 &#xff5c; Spring Boot &#xff5c; \u5f02\u5e38\u68c0\u6d4b &#xff5c; \u6839\u56e0\u5206\u6790 &#xff5c; \u62d3\u6251\u6eaf\u6e90 &#xff5c; \u5fae\u670d\u52a1\u76d1\u63a7 &#xff5c; \u65f6\u5e8f\u6570\u636e &#xff5c; \u53ef\u89c2\u6d4b\u6027 &#xff5c; ECharts\u6570\u636e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/123991.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-08T08:01:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54527f9.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123991.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/123991.html\",\"name\":\"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-08T08:01:26+00:00\",\"dateModified\":\"2026-11-08T08:01:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/123991.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/123991.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123991.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/123991.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u56fe&#xff5c;\u5168\u94fe\u8def\u53ef\u89c2\u6d4b\u8bca\u65ad\u4e3b\u9898\u5c01\u9762\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d&#xff1a;Java Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218\u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8fJava &#xff5c; Vue3 &#xff5c; Spring Boot &#xff5c; \u5f02\u5e38\u68c0\u6d4b &#xff5c; \u6839\u56e0\u5206\u6790 &#xff5c; \u62d3\u6251\u6eaf\u6e90 &#xff5c; \u5fae\u670d\u52a1\u76d1\u63a7 &#xff5c; \u65f6\u5e8f\u6570\u636e &#xff5c; \u53ef\u89c2\u6d4b\u6027 &#xff5c; ECharts\u6570\u636e","og_url":"https:\/\/www.wsisp.com\/helps\/123991.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-08T08:01:26+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261108080124-6af02c54527f9.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/123991.html","url":"https:\/\/www.wsisp.com\/helps\/123991.html","name":"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-08T08:01:26+00:00","dateModified":"2026-11-08T08:01:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/123991.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/123991.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/123991.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ece\u544a\u8b66\u98ce\u66b4\u5230\u6839\u56e0\u5b9a\u4f4d\uff1aJava + Vue \u6307\u6807\u5f02\u5e38\u68c0\u6d4b\u4e0e\u62d3\u6251\u6eaf\u6e90\u7cfb\u7edf\u5168\u94fe\u8def\u5b9e\u6218 \u52a8\u6001\u57fa\u7ebf \u00b7 \u591a\u6307\u6807\u8054\u52a8 \u00b7 \u670d\u52a1\u4f9d\u8d56\u56fe \u00b7 \u53ef\u89e3\u91ca\u6839\u56e0\u6392\u5e8f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=123991"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123991\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/123978"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=123991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=123991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=123991"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=123991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}