{"id":92210,"date":"2026-08-09T18:40:40","date_gmt":"2026-08-09T10:40:40","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/92210.html"},"modified":"2026-08-09T18:40:40","modified_gmt":"2026-08-09T10:40:40","slug":"aiops%e7%a0%b4%e8%a7%a3%e8%bf%90%e7%bb%b4%e5%9b%b0%e5%b1%80","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/92210.html","title":{"rendered":"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40"},"content":{"rendered":"<h2>AIOps \u5168\u94fe\u8def\u667a\u80fd\u8fd0\u7ef4 168 \u7bc7\u8fde\u8f7d \u00b7 \u5f00\u7bc7\u603b\u89c8<\/h2>\n<h3>\u9636\u6bb5\u4e00&#xff1a;AIOps \u67b6\u6784\u5bfc\u8bba<\/h3>\n<hr \/>\n<h2>\u7b2c 1 \u7bc7&#xff1a;\u4f20\u7edf\u76d1\u63a7\u81f4\u547d\u7f3a\u9677&#xff5c;\u5168\u65b0\u4e00\u4ee3\u6307\u6807\u65e5\u5fd7\u4e00\u4f53\u5316 AIOps \u667a\u80fd\u8fd0\u7ef4\u67b6\u6784\u603b\u89c8<\/h2>\n<hr \/>\n<h3>1. \u4e1a\u52a1\u75db\u70b9<\/h3>\n<p>\u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\u666e\u904d\u9762\u4e34\u4ee5\u4e0b\u6838\u5fc3\u75db\u70b9&#xff1a;<\/p>\n<table>\n<tr>\u75db\u70b9\u7c7b\u578b\u5177\u4f53\u8868\u73b0\u5f71\u54cd\u7a0b\u5ea6<\/tr>\n<tbody>\n<tr>\n<td>\u76d1\u63a7\u5b64\u5c9b<\/td>\n<td>\u6307\u6807\u3001\u65e5\u5fd7\u3001\u94fe\u8def\u8ffd\u8e2a\u5206\u6563\u5728\u4e0d\u540c\u7cfb\u7edf<\/td>\n<td>\u6545\u969c\u5b9a\u4f4d\u6548\u7387\u964d\u4f4e 70%<\/td>\n<\/tr>\n<tr>\n<td>\u544a\u8b66\u98ce\u66b4<\/td>\n<td>\u5355\u6545\u969c\u89e6\u53d1\u6570\u767e\u6761\u544a\u8b66&#xff0c;\u65e0\u964d\u566a\u673a\u5236<\/td>\n<td>\u8fd0\u7ef4\u4eba\u5458\u75b2\u52b3&#xff0c;\u5173\u952e\u544a\u8b66\u88ab\u6df9\u6ca1<\/td>\n<\/tr>\n<tr>\n<td>\u8986\u76d6\u76f2\u533a<\/td>\n<td>\u7f3a\u5c11 Windows\u3001\u7f51\u7edc\u8bbe\u5907\u3001\u62e8\u6d4b\u76d1\u63a7<\/td>\n<td>IDC \u786c\u4ef6\u6545\u969c\u65e0\u6cd5\u63d0\u524d\u9884\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8\u74f6\u9888<\/td>\n<td>\u5355 Prometheus \u5b9e\u4f8b\u65e0\u6cd5\u652f\u6491\u5927\u89c4\u6a21\u96c6\u7fa4<\/td>\n<td>\u6570\u636e\u4e22\u5931&#xff0c;\u5386\u53f2\u8ffd\u6eaf\u56f0\u96be<\/td>\n<\/tr>\n<tr>\n<td>\u4eba\u5de5\u4f9d\u8d56<\/td>\n<td>\u6545\u969c\u5206\u6790\u3001\u4fee\u590d\u5168\u9760\u4eba\u5de5\u7ecf\u9a8c<\/td>\n<td>MTTR&#xff08;\u5e73\u5747\u4fee\u590d\u65f6\u95f4&#xff09;\u957f\u8fbe\u6570\u5c0f\u65f6<\/td>\n<\/tr>\n<tr>\n<td>\u77e5\u8bc6\u6d41\u5931<\/td>\n<td>\u6545\u969c\u6848\u4f8b\u65e0\u6c89\u6dc0&#xff0c;\u65b0\u4eba\u4e0a\u624b\u6162<\/td>\n<td>\u56e2\u961f\u80fd\u529b\u65e0\u6cd5\u6301\u7eed\u79ef\u7d2f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f20\u7edf\u76d1\u63a7\u4f53\u7cfb\u53ea\u80fd\u770b\u57fa\u7840 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u6307\u6807&#xff0c;\u5f53\u6545\u969c\u53d1\u751f\u65f6&#xff0c;\u8fd0\u7ef4\u4eba\u5458\u9700\u8981\u5728\u591a\u4e2a\u7cfb\u7edf\u95f4\u5207\u6362&#xff0c;\u65e0\u6cd5\u5feb\u901f\u5b9a\u4f4d\u6839\u56e0&#xff0c;\u66f4\u65e0\u6cd5\u5b9e\u73b0\u81ea\u52a8\u5316\u4fee\u590d\u3002<\/p>\n<hr \/>\n<h3>2. \u7ec4\u4ef6\u67b6\u6784\u5b9a\u4f4d\u4e0e\u5728\u6574\u4f53 AIOps \u94fe\u8def\u4e2d\u7684\u4f5c\u7528<\/h3>\n<p>\u672c\u65b9\u6848\u6784\u5efa\u7684 AIOps \u5168\u94fe\u8def\u67b6\u6784\u5305\u542b 12 \u4e2a\u6838\u5fc3\u5c42\u7ea7&#xff0c;\u5f62\u6210\u5b8c\u6574\u7684\u76d1\u63a7 &#8211; \u544a\u8b66 &#8211; \u5206\u6790 &#8211; \u81ea\u6108\u95ed\u73af&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502                    \u53ef\u89c6\u5316\u89c2\u6d4b\u5c42 (Grafana)                        \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u8fd0\u7ef4\u6c89\u6dc0\u5c42 (\u6545\u969c\u5f52\u6863\/\u77e5\u8bc6\u5e93\u8fed\u4ee3)                \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u81ea\u6108\u6267\u884c\u5c42 (N8N\u2192AWX\u2192Agent)                    \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u77e5\u8bc6\u5e93\u68c0\u7d22\u5c42 (\u5411\u91cf\u6570\u636e\u5e93)                       \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    AI \u667a\u80fd\u5206\u6790\u5c42 (LLM \u5927\u6a21\u578b)                      \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u4e8b\u4ef6\u7f16\u6392\u5c42 (N8N \u544a\u8b66\u6e05\u6d17\/\u5206\u7ea7\/\u53bb\u91cd)              \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u544a\u8b66\u6cbb\u7406\u5c42 (Alertmanager \u5206\u7ec4\/\u6291\u5236\/\u9759\u9ed8)        \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u89c4\u5219\u8ba1\u7b97\u5c42 (\u672c\u5730\u89c4\u5219&#043;Thanos Ruler)             \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u65f6\u5e8f\u5b58\u50a8\u5c42 (Thanos\/VictoriaMetrics)           \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u5206\u5e03\u5f0f\u91c7\u96c6\u5c42 (Prometheus Agent)               \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u670d\u52a1\u6ce8\u518c\u5c42 (Consul \u52a8\u6001\u670d\u52a1\u53d1\u73b0)                \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502                    \u5168\u8986\u76d6\u91c7\u96c6\u5c42 (\u6307\u6807 &#043; \u65e5\u5fd7 &#043; \u62e8\u6d4b &#043; \u7f51\u7edc)          \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u5404\u5c42\u7ea7\u6838\u5fc3\u804c\u8d23&#xff1a;<\/p>\n<ul>\n<li>\u91c7\u96c6\u5c42&#xff1a;\u7edf\u4e00\u7eb3\u7ba1 Linux\/Windows \u670d\u52a1\u5668\u3001\u7f51\u7edc\u8bbe\u5907\u3001\u4e2d\u95f4\u4ef6\u3001\u6570\u636e\u5e93\u3001K8s \u96c6\u7fa4\u3001\u4e1a\u52a1\u65e5\u5fd7<\/li>\n<li>\u5b58\u50a8\u5c42&#xff1a;Thanos \u5206\u5e03\u5f0f\u67b6\u6784\u89e3\u51b3\u5355\u70b9\u74f6\u9888&#xff0c;\u652f\u6301\u8d85\u957f\u671f\u6570\u636e\u5b58\u50a8<\/li>\n<li>\u544a\u8b66\u5c42&#xff1a;Alertmanager \u5b9e\u73b0\u544a\u8b66\u5206\u7ec4\u3001\u6291\u5236\u3001\u9759\u9ed8\u3001\u591a\u6e20\u9053\u901a\u77e5<\/li>\n<li>\u7f16\u6392\u5c42&#xff1a;N8N \u4f4e\u4ee3\u7801\u5e73\u53f0\u5b9e\u73b0\u544a\u8b66\u6807\u51c6\u5316\u3001\u5206\u7ea7\u3001\u53bb\u91cd\u3001\u7ed3\u6784\u5316<\/li>\n<li>AI \u5c42&#xff1a;LLM \u5927\u6a21\u578b\u81ea\u52a8\u6458\u8981\u3001\u6839\u56e0\u63a8\u7406\u3001\u6545\u969c\u5efa\u8bae\u751f\u6210<\/li>\n<li>\u81ea\u6108\u5c42&#xff1a;AWX&#043;Agent \u6279\u91cf\u6267\u884c\u8fdc\u7a0b\u6545\u969c\u4fee\u590d\u811a\u672c<\/li>\n<\/ul>\n<hr \/>\n<h3>3. \u73af\u5883\u51c6\u5907\u3001\u7248\u672c\u9009\u62e9\u3001\u7aef\u53e3\u89c4\u5212\u3001\u8d44\u6e90\u9700\u6c42<\/h3>\n<h4>3.1 \u7248\u672c\u9009\u578b\u5efa\u8bae<\/h4>\n<table>\n<tr>\u7ec4\u4ef6\u63a8\u8350\u7248\u672c\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>Prometheus<\/td>\n<td>v2.45&#043;<\/td>\n<td>\u652f\u6301\u6700\u65b0 PromQL \u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>Thanos<\/td>\n<td>v0.32&#043;<\/td>\n<td>\u7a33\u5b9a\u5206\u5e03\u5f0f\u67b6\u6784<\/td>\n<\/tr>\n<tr>\n<td>Grafana<\/td>\n<td>v10.0&#043;<\/td>\n<td>\u652f\u6301\u6700\u65b0\u9762\u677f\u7c7b\u578b<\/td>\n<\/tr>\n<tr>\n<td>Alertmanager<\/td>\n<td>v0.26&#043;<\/td>\n<td>\u652f\u6301 Webhook v2<\/td>\n<\/tr>\n<tr>\n<td>Consul<\/td>\n<td>v1.16&#043;<\/td>\n<td>\u652f\u6301 ACL \u6743\u9650<\/td>\n<\/tr>\n<tr>\n<td>N8N<\/td>\n<td>v1.0&#043;<\/td>\n<td>\u652f\u6301\u5de5\u4f5c\u6d41\u7248\u672c\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>AWX<\/td>\n<td>v23.0&#043;<\/td>\n<td>\u652f\u6301 Agent \u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>Loki<\/td>\n<td>v2.9&#043;<\/td>\n<td>\u652f\u6301\u65e5\u5fd7\u544a\u8b66<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3.2 \u7aef\u53e3\u89c4\u5212\u8868<\/h4>\n<table>\n<tr>\u7ec4\u4ef6\u9ed8\u8ba4\u7aef\u53e3\u7528\u9014<\/tr>\n<tbody>\n<tr>\n<td>Prometheus<\/td>\n<td>9090<\/td>\n<td>\u6307\u6807\u67e5\u8be2<\/td>\n<\/tr>\n<tr>\n<td>Alertmanager<\/td>\n<td>9093<\/td>\n<td>\u544a\u8b66\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>Grafana<\/td>\n<td>3000<\/td>\n<td>\u53ef\u89c6\u5316\u5927\u5c4f<\/td>\n<\/tr>\n<tr>\n<td>Thanos Query<\/td>\n<td>10901<\/td>\n<td>\u5168\u5c40\u67e5\u8be2<\/td>\n<\/tr>\n<tr>\n<td>Thanos Store<\/td>\n<td>10902<\/td>\n<td>\u5bf9\u8c61\u5b58\u50a8\u8bbf\u95ee<\/td>\n<\/tr>\n<tr>\n<td>Consul<\/td>\n<td>8500<\/td>\n<td>\u670d\u52a1\u53d1\u73b0<\/td>\n<\/tr>\n<tr>\n<td>N8N<\/td>\n<td>5678<\/td>\n<td>\u4e8b\u4ef6\u7f16\u6392<\/td>\n<\/tr>\n<tr>\n<td>AWX<\/td>\n<td>80\/443<\/td>\n<td>\u81ea\u52a8\u5316\u8fd0\u7ef4<\/td>\n<\/tr>\n<tr>\n<td>Loki<\/td>\n<td>3100<\/td>\n<td>\u65e5\u5fd7\u67e5\u8be2<\/td>\n<\/tr>\n<tr>\n<td>Node Exporter<\/td>\n<td>9100<\/td>\n<td>\u670d\u52a1\u5668\u6307\u6807<\/td>\n<\/tr>\n<tr>\n<td>Blackbox<\/td>\n<td>9115<\/td>\n<td>\u62e8\u6d4b\u63a2\u6d4b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3.3 \u8d44\u6e90\u9700\u6c42\u4f30\u7b97<\/h4>\n<table>\n<tr>\u89c4\u6a21Prometheus \u8282\u70b9\u5b58\u50a8\u9700\u6c42\u5185\u5b58\u9700\u6c42\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>\u5c0f\u578b<\/td>\n<td>1-2 \u8282\u70b9<\/td>\n<td>100GB<\/td>\n<td>8GB<\/td>\n<td>&lt;500 \u76d1\u63a7\u76ee\u6807<\/td>\n<\/tr>\n<tr>\n<td>\u4e2d\u578b<\/td>\n<td>3-5 \u8282\u70b9<\/td>\n<td>500GB<\/td>\n<td>16GB<\/td>\n<td>500-2000 \u76d1\u63a7\u76ee\u6807<\/td>\n<\/tr>\n<tr>\n<td>\u5927\u578b<\/td>\n<td>5-10 \u8282\u70b9<\/td>\n<td>2TB&#043;<\/td>\n<td>32GB&#043;<\/td>\n<td>&gt;2000 \u76d1\u63a7\u76ee\u6807<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>4. \u4e09\u5957\u90e8\u7f72\u65b9\u6848&#xff1a;\u88f8\u673a\u90e8\u7f72\u3001Docker Compose \u90e8\u7f72\u3001Kubernetes \u90e8\u7f72<\/h3>\n<h4>4.1 \u88f8\u673a\u4e8c\u8fdb\u5236\u90e8\u7f72&#xff08;\u751f\u4ea7\u63a8\u8350&#xff09;<\/h4>\n<p>\u4f18\u52bf&#xff1a;\u6027\u80fd\u6700\u4f18\u3001\u8d44\u6e90\u5f00\u9500\u6700\u5c0f\u3001\u4fbf\u4e8e\u6df1\u5ea6\u8c03\u4f18<\/p>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u7269\u7406\u673a\u96c6\u7fa4\u3001\u5bf9\u6027\u80fd\u8981\u6c42\u4e25\u82db\u7684\u751f\u4ea7\u73af\u5883<\/p>\n<p># \u521b\u5efa\u76ee\u5f55\u7ed3\u6784<br \/>\nmkdir -p \/opt\/aiops\/{prometheus,alertmanager,grafana,thanos,consul}<br \/>\ncd \/opt\/aiops\/prometheus<\/p>\n<p># \u4e0b\u8f7d\u4e8c\u8fdb\u5236\u5305<br \/>\nwget https:\/\/github.com\/prometheus\/prometheus\/releases\/download\/v2.45.0\/prometheus-2.45.0.linux-amd64.tar.gz<br \/>\ntar -xzf prometheus-2.45.0.linux-amd64.tar.gz<br \/>\nmv prometheus-2.45.0.linux-amd64\/* .<\/p>\n<p># \u521b\u5efa systemd \u670d\u52a1<br \/>\ncat &gt; \/etc\/systemd\/system\/prometheus.service &lt;&lt;EOF<br \/>\n[Unit]<br \/>\nDescription&#061;Prometheus Server<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\nUser&#061;prometheus<br \/>\nGroup&#061;prometheus<br \/>\nExecStart&#061;\/opt\/aiops\/prometheus\/prometheus \\\\<br \/>\n  &#8211;config.file&#061;\/opt\/aiops\/prometheus\/prometheus.yml \\\\<br \/>\n  &#8211;storage.tsdb.path&#061;\/opt\/aiops\/prometheus\/data \\\\<br \/>\n  &#8211;storage.tsdb.retention.time&#061;15d \\\\<br \/>\n  &#8211;web.listen-address&#061;:9090<br \/>\nRestart&#061;always<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<br \/>\nEOF<\/p>\n<p>systemctl daemon-reload<br \/>\nsystemctl enable prometheus<br \/>\nsystemctl start prometheus<\/p>\n<h4>4.2 Docker Compose \u90e8\u7f72&#xff08;\u6d4b\u8bd5\/\u5f00\u53d1\u63a8\u8350&#xff09;<\/h4>\n<p>\u4f18\u52bf&#xff1a;\u90e8\u7f72\u7b80\u5355\u3001\u4fbf\u4e8e\u8fc1\u79fb\u3001\u73af\u5883\u9694\u79bb<\/p>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u6d4b\u8bd5\u73af\u5883\u3001\u5f00\u53d1\u73af\u5883\u3001\u5feb\u901f\u9a8c\u8bc1<\/p>\n<p># docker-compose.yml<br \/>\nversion: &#039;3.8&#039;<br \/>\nservices:<br \/>\n  prometheus:<br \/>\n    image: prom\/prometheus:v2.45.0<br \/>\n    container_name: prometheus<br \/>\n    ports:<br \/>\n      &#8211; &#034;9090:9090&#034;<br \/>\n    volumes:<br \/>\n      &#8211; .\/prometheus.yml:\/etc\/prometheus\/prometheus.yml<br \/>\n      &#8211; prometheus_data:\/prometheus<br \/>\n    command:<br \/>\n      &#8211; &#039;&#8211;config.file&#061;\/etc\/prometheus\/prometheus.yml&#039;<br \/>\n      &#8211; &#039;&#8211;storage.tsdb.path&#061;\/prometheus&#039;<br \/>\n      &#8211; &#039;&#8211;storage.tsdb.retention.time&#061;15d&#039;<br \/>\n    restart: always<\/p>\n<p>  alertmanager:<br \/>\n    image: prom\/alertmanager:v0.26.0<br \/>\n    container_name: alertmanager<br \/>\n    ports:<br \/>\n      &#8211; &#034;9093:9093&#034;<br \/>\n    volumes:<br \/>\n      &#8211; .\/alertmanager.yml:\/etc\/alertmanager\/alertmanager.yml<br \/>\n    restart: always<\/p>\n<p>  grafana:<br \/>\n    image: grafana\/grafana:10.0.0<br \/>\n    container_name: grafana<br \/>\n    ports:<br \/>\n      &#8211; &#034;3000:3000&#034;<br \/>\n    volumes:<br \/>\n      &#8211; grafana_data:\/var\/lib\/grafana<br \/>\n    environment:<br \/>\n      &#8211; GF_SECURITY_ADMIN_PASSWORD&#061;admin123<br \/>\n    restart: always<\/p>\n<p>volumes:<br \/>\n  prometheus_data:<br \/>\n  grafana_data:<\/p>\n<p># \u542f\u52a8\u670d\u52a1<br \/>\ndocker-compose up -d<\/p>\n<p># \u67e5\u770b\u72b6\u6001<br \/>\ndocker-compose ps<\/p>\n<p># \u67e5\u770b\u65e5\u5fd7<br \/>\ndocker-compose logs -f prometheus<\/p>\n<h4>4.3 Kubernetes \u96c6\u7fa4\u90e8\u7f72&#xff08;\u4e91\u539f\u751f\u63a8\u8350&#xff09;<\/h4>\n<p>\u4f18\u52bf&#xff1a;\u9ad8\u53ef\u7528\u3001\u5f39\u6027\u4f38\u7f29\u3001\u81ea\u52a8\u6545\u969c\u6062\u590d<\/p>\n<p>\u9002\u7528\u573a\u666f&#xff1a;K8s \u751f\u4ea7\u73af\u5883\u3001\u4e91\u539f\u751f\u67b6\u6784<\/p>\n<p># prometheus-deployment.yaml<br \/>\napiVersion: apps\/v1<br \/>\nkind: Deployment<br \/>\nmetadata:<br \/>\n  name: prometheus<br \/>\n  namespace: monitoring<br \/>\nspec:<br \/>\n  replicas: 2<br \/>\n  selector:<br \/>\n    matchLabels:<br \/>\n      app: prometheus<br \/>\n  template:<br \/>\n    metadata:<br \/>\n      labels:<br \/>\n        app: prometheus<br \/>\n    spec:<br \/>\n      containers:<br \/>\n      &#8211; name: prometheus<br \/>\n        image: prom\/prometheus:v2.45.0<br \/>\n        ports:<br \/>\n        &#8211; containerPort: 9090<br \/>\n        volumeMounts:<br \/>\n        &#8211; name: config<br \/>\n          mountPath: \/etc\/prometheus<br \/>\n        &#8211; name: data<br \/>\n          mountPath: \/prometheus<br \/>\n        args:<br \/>\n        &#8211; &#8211;config.file&#061;\/etc\/prometheus\/prometheus.yml<br \/>\n        &#8211; &#8211;storage.tsdb.path&#061;\/prometheus<br \/>\n        &#8211; &#8211;storage.tsdb.retention.time&#061;15d<br \/>\n      volumes:<br \/>\n      &#8211; name: config<br \/>\n        configMap:<br \/>\n          name: prometheus-config<br \/>\n      &#8211; name: data<br \/>\n        persistentVolumeClaim:<br \/>\n          claimName: prometheus-pvc<br \/>\n&#8212;<br \/>\napiVersion: v1<br \/>\nkind: Service<br \/>\nmetadata:<br \/>\n  name: prometheus<br \/>\n  namespace: monitoring<br \/>\nspec:<br \/>\n  selector:<br \/>\n    app: prometheus<br \/>\n  ports:<br \/>\n  &#8211; port: 9090<br \/>\n    targetPort: 9090<br \/>\n  type: ClusterIP<\/p>\n<p># \u90e8\u7f72\u5230 K8s \u96c6\u7fa4<br \/>\nkubectl apply -f prometheus-deployment.yaml<\/p>\n<p># \u9a8c\u8bc1\u90e8\u7f72<br \/>\nkubectl get pods -n monitoring<br \/>\nkubectl get svc -n monitoring<\/p>\n<p># \u7aef\u53e3\u8f6c\u53d1\u8bbf\u95ee<br \/>\nkubectl port-forward svc\/prometheus 9090:9090 -n monitoring<\/p>\n<hr \/>\n<h3>5. \u6838\u5fc3\u914d\u7f6e\u6587\u4ef6\u8be6\u89e3&#xff08;\u5168\u4e2d\u6587\u6ce8\u91ca&#xff09;<\/h3>\n<h4>5.1 Prometheus \u4e3b\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p># prometheus.yml &#8211; Prometheus \u6838\u5fc3\u914d\u7f6e\u6587\u4ef6<\/p>\n<p># \u5168\u5c40\u914d\u7f6e<br \/>\nglobal:<br \/>\n  scrape_interval: 15s          # \u9ed8\u8ba4\u6293\u53d6\u95f4\u9694 15 \u79d2<br \/>\n  evaluation_interval: 15s      # \u89c4\u5219\u8bc4\u4f30\u95f4\u9694 15 \u79d2<br \/>\n  external_labels:<br \/>\n    monitor: &#039;aiops-monitor&#039;    # \u5916\u90e8\u6807\u7b7e&#xff0c;\u7528\u4e8e Thanos \u533a\u5206\u96c6\u7fa4<br \/>\n    region: &#039;cn-beijing&#039;        # \u533a\u57df\u6807\u7b7e<\/p>\n<p># \u544a\u8b66\u7ba1\u7406\u5668\u914d\u7f6e<br \/>\nalerting:<br \/>\n  alertmanagers:<br \/>\n  &#8211; static_configs:<br \/>\n    &#8211; targets:<br \/>\n      &#8211; alertmanager:9093       # Alertmanager \u5730\u5740<\/p>\n<p># \u89c4\u5219\u6587\u4ef6\u8def\u5f84<br \/>\nrule_files:<br \/>\n  &#8211; \/opt\/aiops\/prometheus\/rules\/*.yml<\/p>\n<p># \u6293\u53d6\u914d\u7f6e<br \/>\nscrape_configs:<br \/>\n  # Prometheus \u81ea\u76d1\u63a7<br \/>\n  &#8211; job_name: &#039;prometheus&#039;<br \/>\n    static_configs:<br \/>\n    &#8211; targets: [&#039;localhost:9090&#039;]<br \/>\n      labels:<br \/>\n        instance_type: &#039;monitoring&#039;<\/p>\n<p>  # Node Exporter \u670d\u52a1\u5668\u76d1\u63a7<br \/>\n  &#8211; job_name: &#039;node_exporter&#039;<br \/>\n    static_configs:<br \/>\n    &#8211; targets: [&#039;node1:9100&#039;, &#039;node2:9100&#039;, &#039;node3:9100&#039;]<br \/>\n      labels:<br \/>\n        instance_type: &#039;server&#039;<\/p>\n<p>  # Blackbox \u62e8\u6d4b\u76d1\u63a7<br \/>\n  &#8211; job_name: &#039;blackbox_http&#039;<br \/>\n    metrics_path: \/probe<br \/>\n    params:<br \/>\n      module: [http_2xx]<br \/>\n    static_configs:<br \/>\n    &#8211; targets:<br \/>\n      &#8211; https:\/\/www.example.com<br \/>\n    relabel_configs:<br \/>\n    &#8211; source_labels: [__address__]<br \/>\n      target_label: __param_target<br \/>\n    &#8211; source_labels: [__param_target]<br \/>\n      target_label: instance<br \/>\n    &#8211; target_label: __address__<br \/>\n      replacement: blackbox:9115<\/p>\n<p>  # Consul \u670d\u52a1\u53d1\u73b0<br \/>\n  &#8211; job_name: &#039;consul_services&#039;<br \/>\n    consul_sd_configs:<br \/>\n    &#8211; server: consul:8500<br \/>\n      services: []<br \/>\n    relabel_configs:<br \/>\n    &#8211; source_labels: [__meta_consul_service]<br \/>\n      target_label: job<\/p>\n<h4>5.2 Alertmanager \u914d\u7f6e\u6587\u4ef6<\/h4>\n<p># alertmanager.yml &#8211; \u544a\u8b66\u7ba1\u7406\u5668\u914d\u7f6e<\/p>\n<p>global:<br \/>\n  smtp_smarthost: &#039;smtp.example.com:587&#039;<br \/>\n  smtp_from: &#039;alertmanager&#064;example.com&#039;<br \/>\n  smtp_auth_username: &#039;alertmanager&#064;example.com&#039;<br \/>\n  smtp_auth_password: &#039;password123&#039;<\/p>\n<p># \u8def\u7531\u6811\u914d\u7f6e<br \/>\nroute:<br \/>\n  receiver: &#039;default-receiver&#039;          # \u9ed8\u8ba4\u63a5\u6536\u5668<br \/>\n  group_by: [&#039;alertname&#039;, &#039;cluster&#039;]    # \u544a\u8b66\u5206\u7ec4\u7ef4\u5ea6<br \/>\n  group_wait: 30s                       # \u7ec4\u7b49\u5f85\u65f6\u95f4<br \/>\n  group_interval: 5m                    # \u7ec4\u95f4\u9694\u65f6\u95f4<br \/>\n  repeat_interval: 4h                   # \u91cd\u590d\u901a\u77e5\u95f4\u9694<\/p>\n<p>  # \u5b50\u8def\u7531 &#8211; \u6309\u4e25\u91cd\u7a0b\u5ea6\u5206\u6d41<br \/>\n  routes:<br \/>\n  &#8211; match:<br \/>\n      severity: critical<br \/>\n    receiver: &#039;critical-receiver&#039;<br \/>\n    group_wait: 10s<br \/>\n    repeat_interval: 1h<br \/>\n  &#8211; match:<br \/>\n      severity: warning<br \/>\n    receiver: &#039;warning-receiver&#039;<br \/>\n    repeat_interval: 4h<\/p>\n<p># \u63a5\u6536\u5668\u914d\u7f6e<br \/>\nreceivers:<br \/>\n&#8211; name: &#039;default-receiver&#039;<br \/>\n  email_configs:<br \/>\n  &#8211; to: &#039;ops-team&#064;example.com&#039;<br \/>\n    send_resolved: true<\/p>\n<p>&#8211; name: &#039;critical-receiver&#039;<br \/>\n  webhook_configs:<br \/>\n  &#8211; url: &#039;http:\/\/n8n:5678\/webhook\/alertmanager&#039;<br \/>\n    send_resolved: true<br \/>\n  email_configs:<br \/>\n  &#8211; to: &#039;oncall&#064;example.com&#039;<br \/>\n    send_resolved: true<\/p>\n<p>&#8211; name: &#039;warning-receiver&#039;<br \/>\n  email_configs:<br \/>\n  &#8211; to: &#039;ops-team&#064;example.com&#039;<br \/>\n    send_resolved: true<\/p>\n<p># \u6291\u5236\u89c4\u5219 &#8211; \u9632\u6b62\u544a\u8b66\u98ce\u66b4<br \/>\ninhibit_rules:<br \/>\n&#8211; source_match:<br \/>\n    severity: &#039;critical&#039;<br \/>\n  target_match:<br \/>\n    severity: &#039;warning&#039;<br \/>\n  equal: [&#039;alertname&#039;, &#039;cluster&#039;, &#039;service&#039;]<\/p>\n<p># \u9759\u9ed8\u89c4\u5219<br \/>\nsilencers:<br \/>\n&#8211; matchers:<br \/>\n  &#8211; name: alertname<br \/>\n    value: &#039;TestAlert&#039;<br \/>\n  startsAt: &#039;2024-01-01T00:00:00Z&#039;<br \/>\n  endsAt: &#039;2024-01-01T23:59:59Z&#039;<\/p>\n<hr \/>\n<h3>6. \u529f\u80fd\u9a8c\u8bc1\u3001\u6307\u6807\u6293\u53d6\u9a8c\u8bc1\u3001\u670d\u52a1\u53ef\u7528\u6027\u9a8c\u8bc1<\/h3>\n<h4>6.1 Prometheus \u670d\u52a1\u9a8c\u8bc1<\/h4>\n<p># \u68c0\u67e5\u670d\u52a1\u72b6\u6001<br \/>\nsystemctl status prometheus<\/p>\n<p># \u68c0\u67e5\u7aef\u53e3\u76d1\u542c<br \/>\nnetstat -tlnp | grep 9090<\/p>\n<p># \u68c0\u67e5 API \u5065\u5eb7\u72b6\u6001<br \/>\ncurl -s http:\/\/localhost:9090\/api\/v1\/status\/config | jq .<\/p>\n<p># \u68c0\u67e5\u76ee\u6807\u6293\u53d6\u72b6\u6001<br \/>\ncurl -s http:\/\/localhost:9090\/api\/v1\/targets | jq &#039;.data.activeTargets[].health&#039;<\/p>\n<h4>6.2 \u6307\u6807\u6293\u53d6\u9a8c\u8bc1<\/h4>\n<p># \u67e5\u8be2 Prometheus \u81ea\u8eab\u6307\u6807<br \/>\ncurl -s &#039;http:\/\/localhost:9090\/api\/v1\/query?query&#061;prometheus_tsdb_head_samples_appended_total&#039; | jq .<\/p>\n<p># \u67e5\u8be2 Node Exporter \u6307\u6807<br \/>\ncurl -s &#039;http:\/\/localhost:9090\/api\/v1\/query?query&#061;node_cpu_seconds_total&#039; | jq .<\/p>\n<p># \u9a8c\u8bc1\u6307\u6807\u65f6\u95f4\u8303\u56f4<br \/>\ncurl -s &#039;http:\/\/localhost:9090\/api\/v1\/query_range?query&#061;up&amp;start&#061;2024-01-01T00:00:00Z&amp;end&#061;2024-01-01T23:59:59Z&amp;step&#061;1m&#039; | jq .<\/p>\n<h4>6.3 Grafana \u6570\u636e\u6e90\u9a8c\u8bc1<\/h4>\n<li>\u767b\u5f55 Grafana&#xff08;http:\/\/grafana:3000&#xff0c;\u9ed8\u8ba4\u8d26\u53f7 admin\/admin123&#xff09;<\/li>\n<li>\u8fdb\u5165 Configuration \u2192 Data Sources<\/li>\n<li>\u70b9\u51fb Prometheus \u6570\u636e\u6e90<\/li>\n<li>\u70b9\u51fb &#034;Save &amp; Test&#034;&#xff0c;\u663e\u793a &#034;Data source is working&#034; \u8868\u793a\u6210\u529f<\/li>\n<h4>6.4 \u544a\u8b66\u94fe\u8def\u9a8c\u8bc1<\/h4>\n<p># \u624b\u52a8\u89e6\u53d1\u6d4b\u8bd5\u544a\u8b66<br \/>\ncat &gt; \/tmp\/test_alert.yml &lt;&lt;EOF<br \/>\ngroups:<br \/>\n&#8211; name: test_alert<br \/>\n  rules:<br \/>\n  &#8211; alert: TestAlert<br \/>\n    expr: vector(1)<br \/>\n    for: 10s<br \/>\n    labels:<br \/>\n      severity: critical<br \/>\n    annotations:<br \/>\n      summary: &#034;\u6d4b\u8bd5\u544a\u8b66&#034;<br \/>\n      description: &#034;\u9a8c\u8bc1\u544a\u8b66\u94fe\u8def&#034;<br \/>\nEOF<\/p>\n<p># \u91cd\u8f7d Prometheus \u914d\u7f6e<br \/>\ncurl -X POST http:\/\/localhost:9090\/-\/reload<\/p>\n<p># \u67e5\u770b\u544a\u8b66\u72b6\u6001<br \/>\ncurl -s http:\/\/localhost:9090\/api\/v1\/rules | jq .<\/p>\n<hr \/>\n<h3>7. \u7ec4\u4ef6\u81ea\u76d1\u63a7\u914d\u7f6e\u3001\u5bf9\u5e94 Exporter \u6307\u6807\u91c7\u96c6\u3001\u544a\u8b66\u89c4\u5219\u914d\u7f6e<\/h3>\n<h4>7.1 Prometheus \u81ea\u76d1\u63a7\u6307\u6807<\/h4>\n<p># prometheus_self_monitor.yml<br \/>\ngroups:<br \/>\n&#8211; name: prometheus_self<br \/>\n  rules:<br \/>\n  &#8211; alert: PrometheusDown<br \/>\n    expr: absent(up{job&#061;&#034;prometheus&#034;})<br \/>\n    for: 1m<br \/>\n    labels:<br \/>\n      severity: critical<br \/>\n    annotations:<br \/>\n      summary: &#034;Prometheus \u670d\u52a1\u5b95\u673a&#034;<br \/>\n      description: &#034;Prometheus \u5b9e\u4f8b {{ $labels.instance }} \u5df2\u5b95\u673a\u8d85\u8fc7 1 \u5206\u949f&#034;<\/p>\n<p>  &#8211; alert: PrometheusTargetMissing<br \/>\n    expr: up &#061;&#061; 0<br \/>\n    for: 5m<br \/>\n    labels:<br \/>\n      severity: warning<br \/>\n    annotations:<br \/>\n      summary: &#034;\u76d1\u63a7\u76ee\u6807\u4e22\u5931&#034;<br \/>\n      description: &#034;\u76ee\u6807 {{ $labels.instance }} \u5df2\u5931\u8054\u8d85\u8fc7 5 \u5206\u949f&#034;<\/p>\n<p>  &#8211; alert: PrometheusStoragePressure<br \/>\n    expr: prometheus_tsdb_storage_blocks_bytes_total \/ prometheus_tsdb_storage_blocks_bytes_max &gt; 0.9<br \/>\n    for: 10m<br \/>\n    labels:<br \/>\n      severity: warning<br \/>\n    annotations:<br \/>\n      summary: &#034;Prometheus \u5b58\u50a8\u538b\u529b\u8fc7\u5927&#034;<br \/>\n      description: &#034;\u5b58\u50a8\u4f7f\u7528\u7387\u8d85\u8fc7 90%&#034;<\/p>\n<h4>7.2 Node Exporter \u6838\u5fc3\u544a\u8b66\u89c4\u5219<\/h4>\n<p># node_exporter_alerts.yml<br \/>\ngroups:<br \/>\n&#8211; name: node_alerts<br \/>\n  rules:<br \/>\n  &#8211; alert: HighCPUUsage<br \/>\n    expr: 100 &#8211; (avg by(instance) (rate(node_cpu_seconds_total{mode&#061;&#034;idle&#034;}[5m])) * 100) &gt; 80<br \/>\n    for: 10m<br \/>\n    labels:<br \/>\n      severity: warning<br \/>\n    annotations:<br \/>\n      summary: &#034;CPU \u4f7f\u7528\u7387\u8fc7\u9ad8&#034;<br \/>\n      description: &#034;\u5b9e\u4f8b {{ $labels.instance }} CPU \u4f7f\u7528\u7387\u8d85\u8fc7 80%&#034;<\/p>\n<p>  &#8211; alert: HighMemoryUsage<br \/>\n    expr: (1 &#8211; (node_memory_MemAvailable_bytes \/ node_memory_MemTotal_bytes)) * 100 &gt; 85<br \/>\n    for: 10m<br \/>\n    labels:<br \/>\n      severity: warning<br \/>\n    annotations:<br \/>\n      summary: &#034;\u5185\u5b58\u4f7f\u7528\u7387\u8fc7\u9ad8&#034;<br \/>\n      description: &#034;\u5b9e\u4f8b {{ $labels.instance }} \u5185\u5b58\u4f7f\u7528\u7387\u8d85\u8fc7 85%&#034;<\/p>\n<p>  &#8211; alert: DiskSpaceLow<br \/>\n    expr: (node_filesystem_avail_bytes \/ node_filesystem_size_bytes) * 100 &lt; 15<br \/>\n    for: 30m<br \/>\n    labels:<br \/>\n      severity: critical<br \/>\n    annotations:<br \/>\n      summary: &#034;\u78c1\u76d8\u7a7a\u95f4\u4e0d\u8db3&#034;<br \/>\n      description: &#034;\u5b9e\u4f8b {{ $labels.instance }} \u78c1\u76d8\u53ef\u7528\u7a7a\u95f4\u4f4e\u4e8e 15%&#034;<\/p>\n<p>  &#8211; alert: NodeDown<br \/>\n    expr: up{job&#061;&#034;node_exporter&#034;} &#061;&#061; 0<br \/>\n    for: 5m<br \/>\n    labels:<br \/>\n      severity: critical<br \/>\n    annotations:<br \/>\n      summary: &#034;\u670d\u52a1\u5668\u5b95\u673a&#034;<br \/>\n      description: &#034;\u670d\u52a1\u5668 {{ $labels.instance }} \u5df2\u5b95\u673a\u8d85\u8fc7 5 \u5206\u949f&#034;<\/p>\n<hr \/>\n<h3>8. \u5de5\u5177\u9ad8\u7ea7\u7528\u6cd5\u3001\u751f\u4ea7\u6700\u4f73\u5b9e\u8df5<\/h3>\n<h4>8.1 PromQL \u9ad8\u7ea7\u67e5\u8be2\u6280\u5de7<\/h4>\n<p># \u8ba1\u7b97 5 \u5206\u949f\u5e73\u5747 CPU \u4f7f\u7528\u7387<br \/>\n100 &#8211; (avg by(instance) (rate(node_cpu_seconds_total{mode&#061;&#034;idle&#034;}[5m])) * 100)<\/p>\n<p># \u8ba1\u7b97\u5185\u5b58\u4f7f\u7528\u7387<br \/>\n(1 &#8211; (node_memory_MemAvailable_bytes \/ node_memory_MemTotal_bytes)) * 100<\/p>\n<p># \u8ba1\u7b97\u78c1\u76d8 IO \u7b49\u5f85\u65f6\u95f4<br \/>\nrate(node_disk_io_time_seconds_total[5m]) * 100<\/p>\n<p># \u8ba1\u7b97\u7f51\u7edc\u5e26\u5bbd\u4f7f\u7528<br \/>\nrate(node_network_receive_bytes_total{device&#061;&#034;eth0&#034;}[5m]) * 8<\/p>\n<p># \u9884\u6d4b\u78c1\u76d8\u4f55\u65f6\u5199\u6ee1<br \/>\npredict_linear(node_filesystem_avail_bytes{mountpoint&#061;&#034;\/&#034;}[6h], 24*3600)<\/p>\n<p># \u540c\u6bd4\/\u73af\u6bd4\u5206\u6790<br \/>\n# \u672c\u5468 vs \u4e0a\u5468\u540c\u4e00\u65f6\u95f4<br \/>\nrate(http_requests_total[5m]) \/ rate(http_requests_total[5m] offset 7d)<\/p>\n<h4>8.2 \u751f\u4ea7\u73af\u5883\u6700\u4f73\u5b9e\u8df5<\/h4>\n<table>\n<tr>\u5b9e\u8df5\u9879\u63a8\u8350\u65b9\u6848\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u6570\u636e\u4fdd\u7559<\/td>\n<td>\u672c\u5730 15 \u5929&#043;Thanos \u957f\u671f\u5b58\u50a8<\/td>\n<td>\u5e73\u8861\u67e5\u8be2\u6027\u80fd\u4e0e\u5b58\u50a8\u6210\u672c<\/td>\n<\/tr>\n<tr>\n<td>\u6293\u53d6\u95f4\u9694<\/td>\n<td>\u6838\u5fc3\u6307\u6807 15s&#xff0c;\u6b21\u8981\u6307\u6807 60s<\/td>\n<td>\u964d\u4f4e Prometheus \u8d1f\u8f7d<\/td>\n<\/tr>\n<tr>\n<td>\u544a\u8b66\u5206\u7ea7<\/td>\n<td>Critical\/Warning\/Info \u4e09\u7ea7<\/td>\n<td>\u907f\u514d\u544a\u8b66\u75b2\u52b3<\/td>\n<\/tr>\n<tr>\n<td>\u6807\u7b7e\u89c4\u8303<\/td>\n<td>\u7edf\u4e00 instance\/job\/cluster\/region<\/td>\n<td>\u4fbf\u4e8e\u805a\u5408\u67e5\u8be2<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e\u7ba1\u7406<\/td>\n<td>Git \u7248\u672c\u63a7\u5236&#043;CI\/CD \u81ea\u52a8\u90e8\u7f72<\/td>\n<td>\u4fdd\u8bc1\u914d\u7f6e\u4e00\u81f4\u6027<\/td>\n<\/tr>\n<tr>\n<td>\u5907\u4efd\u7b56\u7565<\/td>\n<td>\u6bcf\u65e5\u5feb\u7167&#043;\u5f02\u5730\u5907\u4efd<\/td>\n<td>\u9632\u6b62\u6570\u636e\u4e22\u5931<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>8.3 \u6027\u80fd\u8c03\u4f18\u53c2\u6570<\/h4>\n<p># Prometheus \u542f\u52a8\u53c2\u6570\u4f18\u5316<br \/>\n&#8211;storage.tsdb.retention.time&#061;15d          # \u6570\u636e\u4fdd\u7559\u65f6\u95f4<br \/>\n&#8211;storage.tsdb.min-block-duration&#061;2h       # \u6700\u5c0f\u5757\u65f6\u957f<br \/>\n&#8211;storage.tsdb.max-block-duration&#061;2h       # \u6700\u5927\u5757\u65f6\u957f<br \/>\n&#8211;storage.tsdb.wal-compression&#061;true        # WAL \u538b\u7f29<br \/>\n&#8211;web.max-connections&#061;512                  # \u6700\u5927\u8fde\u63a5\u6570<br \/>\n&#8211;query.max-concurrency&#061;20                 # \u67e5\u8be2\u5e76\u53d1\u6570<br \/>\n&#8211;query.timeout&#061;2m                         # \u67e5\u8be2\u8d85\u65f6\u65f6\u95f4<\/p>\n<hr \/>\n<h3>9. \u751f\u4ea7\u8e29\u5751\u6e05\u5355\u3001\u6545\u969c\u6392\u67e5\u3001\u67b6\u6784\u4f18\u5316\u65b9\u6848<\/h3>\n<h4>9.1 \u5e38\u89c1\u8e29\u5751\u6e05\u5355<\/h4>\n<table>\n<tr>\u95ee\u9898\u73b0\u8c61\u89e3\u51b3\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td>\u5185\u5b58\u6ea2\u51fa<\/td>\n<td>Prometheus OOM \u91cd\u542f<\/td>\n<td>\u589e\u52a0\u5185\u5b58\u9650\u5236&#xff0c;\u542f\u7528 WAL \u538b\u7f29&#xff0c;\u51cf\u5c11\u9ad8\u57fa\u6570\u6807\u7b7e<\/td>\n<\/tr>\n<tr>\n<td>\u67e5\u8be2\u8d85\u65f6<\/td>\n<td>Grafana \u9762\u677f\u52a0\u8f7d\u6162<\/td>\n<td>\u4f18\u5316 PromQL&#xff0c;\u6dfb\u52a0\u7d22\u5f15&#xff0c;\u4f7f\u7528 Thanos Query \u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>\u544a\u8b66\u98ce\u66b4<\/td>\n<td>\u77ed\u65f6\u95f4\u5185\u6536\u5230\u6570\u767e\u6761\u544a\u8b66<\/td>\n<td>\u914d\u7f6e\u5206\u7ec4\u3001\u6291\u5236\u3001\u9759\u9ed8\u89c4\u5219<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u4e22\u5931<\/td>\n<td>\u78c1\u76d8\u5199\u6ee1\u5bfc\u81f4\u6570\u636e\u4e22\u5931<\/td>\n<td>\u76d1\u63a7\u78c1\u76d8\u4f7f\u7528\u7387&#xff0c;\u8bbe\u7f6e\u81ea\u52a8\u6e05\u7406\u7b56\u7565<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e\u5931\u6548<\/td>\n<td>\u4fee\u6539\u914d\u7f6e\u540e\u672a\u751f\u6548<\/td>\n<td>\u68c0\u67e5\u8bed\u6cd5&#xff0c;\u6267\u884c\u70ed\u91cd\u8f7d&#xff0c;\u67e5\u770b\u65e5\u5fd7<\/td>\n<\/tr>\n<tr>\n<td>\u76ee\u6807\u5931\u8054<\/td>\n<td>Exporter \u65e0\u6cd5\u6293\u53d6<\/td>\n<td>\u68c0\u67e5\u7f51\u7edc\u8fde\u901a\u6027&#xff0c;\u9632\u706b\u5899\u89c4\u5219&#xff0c;\u670d\u52a1\u72b6\u6001<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>9.2 \u6545\u969c\u6392\u67e5\u6d41\u7a0b<\/h4>\n<p>1. \u68c0\u67e5\u670d\u52a1\u72b6\u6001<br \/>\n   systemctl status prometheus<br \/>\n   docker-compose ps<\/p>\n<p>2. \u67e5\u770b\u670d\u52a1\u65e5\u5fd7<br \/>\n   journalctl -u prometheus -f<br \/>\n   docker-compose logs prometheus<\/p>\n<p>3. \u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u8bed\u6cd5<br \/>\n   promtool check config prometheus.yml<br \/>\n   promtool check rules rules\/*.yml<\/p>\n<p>4. \u9a8c\u8bc1 API \u5065\u5eb7<br \/>\n   curl http:\/\/localhost:9090\/api\/v1\/status\/config<\/p>\n<p>5. \u68c0\u67e5\u76ee\u6807\u6293\u53d6<br \/>\n   curl http:\/\/localhost:9090\/api\/v1\/targets<\/p>\n<p>6. \u6d4b\u8bd5 PromQL \u67e5\u8be2<br \/>\n   curl &#039;http:\/\/localhost:9090\/api\/v1\/query?query&#061;up&#039;<\/p>\n<h4>9.3 \u67b6\u6784\u4f18\u5316\u65b9\u6848<\/h4>\n<p>\u5c0f\u578b\u73af\u5883&#xff08;&lt;500 \u76ee\u6807&#xff09;<\/p>\n<ul>\n<li>\u5355 Prometheus &#043; \u5355 Alertmanager &#043; \u5355 Grafana<\/li>\n<li>\u672c\u5730\u5b58\u50a8 15 \u5929<\/li>\n<li>\u65e0\u9700 Thanos<\/li>\n<\/ul>\n<p>\u4e2d\u578b\u73af\u5883&#xff08;500-2000 \u76ee\u6807&#xff09;<\/p>\n<ul>\n<li>2 Prometheus \u9ad8\u53ef\u7528 &#043; Thanos Sidecar<\/li>\n<li>MinIO \u5bf9\u8c61\u5b58\u50a8<\/li>\n<li>Thanos Query \u7edf\u4e00\u67e5\u8be2<\/li>\n<\/ul>\n<p>\u5927\u578b\u73af\u5883&#xff08;&gt;2000 \u76ee\u6807&#xff09;<\/p>\n<ul>\n<li>\u591a Prometheus \u5206\u7247 &#043; Prometheus Agent \u5206\u5e03\u5f0f\u91c7\u96c6<\/li>\n<li>Thanos \u5b8c\u6574\u67b6\u6784&#xff08;Sidecar\/Query\/Store\/Compactor\/Ruler&#xff09;<\/li>\n<li>\u591a\u526f\u672c\u3001\u8de8\u96c6\u7fa4\u67e5\u8be2\u3001\u4e0b\u91c7\u6837<\/li>\n<\/ul>\n<hr \/>\n<h3>10. \u672c\u7bc7\u5c0f\u7ed3 &#043; \u4e0b\u7bc7\u9884\u544a<\/h3>\n<h4>\u672c\u7bc7\u5c0f\u7ed3<\/h4>\n<p>\u672c\u6587\u4f5c\u4e3a AIOps \u5168\u94fe\u8def\u667a\u80fd\u8fd0\u7ef4 168 \u7bc7\u8fde\u8f7d\u7684\u5f00\u7bc7&#xff0c;\u7cfb\u7edf\u9610\u8ff0\u4e86&#xff1a;<\/p>\n<li>\u4f20\u7edf\u76d1\u63a7\u7684 6 \u5927\u75db\u70b9&#xff1a;\u76d1\u63a7\u5b64\u5c9b\u3001\u544a\u8b66\u98ce\u66b4\u3001\u8986\u76d6\u76f2\u533a\u3001\u5b58\u50a8\u74f6\u9888\u3001\u4eba\u5de5\u4f9d\u8d56\u3001\u77e5\u8bc6\u6d41\u5931<\/li>\n<li>12 \u5c42 AIOps \u67b6\u6784&#xff1a;\u4ece\u91c7\u96c6\u5c42\u5230\u8fd0\u7ef4\u6c89\u6dc0\u5c42\u7684\u5b8c\u6574\u95ed\u73af\u8bbe\u8ba1<\/li>\n<li>\u4e09\u5957\u90e8\u7f72\u65b9\u6848&#xff1a;\u88f8\u673a\u4e8c\u8fdb\u5236\u3001Docker Compose\u3001Kubernetes \u96c6\u7fa4\u90e8\u7f72\u8be6\u89e3<\/li>\n<li>\u6838\u5fc3\u914d\u7f6e\u8be6\u89e3&#xff1a;Prometheus \u548c Alertmanager \u914d\u7f6e\u6587\u4ef6\u5168\u6ce8\u91ca<\/li>\n<li>\u529f\u80fd\u9a8c\u8bc1\u65b9\u6cd5&#xff1a;\u670d\u52a1\u72b6\u6001\u3001\u6307\u6807\u6293\u53d6\u3001\u544a\u8b66\u94fe\u8def\u5b8c\u6574\u9a8c\u8bc1\u6d41\u7a0b<\/li>\n<li>\u81ea\u76d1\u63a7\u914d\u7f6e&#xff1a;Prometheus \u548c Node Exporter \u544a\u8b66\u89c4\u5219\u6a21\u677f<\/li>\n<li>\u751f\u4ea7\u6700\u4f73\u5b9e\u8df5&#xff1a;PromQL \u9ad8\u7ea7\u6280\u5de7\u3001\u6027\u80fd\u8c03\u4f18\u53c2\u6570\u3001\u67b6\u6784\u4f18\u5316\u65b9\u6848<\/li>\n<li>\u8e29\u5751\u6e05\u5355&#xff1a;8 \u5927\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848<\/li>\n<h4>\u4e0b\u7bc7\u9884\u544a<\/h4>\n<p>\u7b2c 2 \u7bc7&#xff1a;\u5168\u7ec4\u4ef6\u5168\u666f\u62c6\u89e3&#xff1a;Prometheus \u5168\u751f\u6001 &#043; \u65e5\u5fd7 &#043; \u62e8\u6d4b &#043; \u7f51\u7edc &#043;AI \u81ea\u6108\u5b8c\u6574\u6280\u672f\u6808\u8bb2\u89e3<\/p>\n<p>\u4e0b\u7bc7\u5c06\u6df1\u5165\u62c6\u89e3\u672c AIOps \u5e73\u53f0\u7684\u5b8c\u6574\u6280\u672f\u6808&#xff0c;\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>Prometheus \u5b98\u65b9\u539f\u751f\u7ec4\u4ef6\u5168\u5bb6\u6876<\/li>\n<li>CNCF \u751f\u6001\u7ec4\u4ef6\u5168\u666f\u56fe<\/li>\n<li>\u5168\u54c1\u7c7b Exporter \u8986\u76d6\u6e05\u5355<\/li>\n<li>\u65e5\u5fd7\u4f53\u7cfb Loki&#043;Promtail \u67b6\u6784<\/li>\n<li>\u5206\u5e03\u5f0f\u65f6\u5e8f\u5b58\u50a8\u56db\u5927\u65b9\u6848\u5bf9\u6bd4<\/li>\n<li>\u670d\u52a1\u53d1\u73b0\u4f53\u7cfb Consul \u6df1\u5ea6\u89e3\u6790<\/li>\n<li>AI \u667a\u80fd\u8fd0\u7ef4 LLM&#043; \u5411\u91cf\u6570\u636e\u5e93\u67b6\u6784<\/li>\n<li>\u81ea\u52a8\u5316\u81ea\u6108 AWX&#043;Agent \u5e73\u53f0\u8bbe\u8ba1<\/li>\n<\/ul>\n<p>\u656c\u8bf7\u671f\u5f85&#xff01;<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AIOps \u5168\u94fe\u8def\u667a\u80fd\u8fd0\u7ef4 168 \u7bc7\u8fde\u8f7d \u00b7 \u5f00\u7bc7\u603b\u89c8<br \/>\n\u9636\u6bb5\u4e00&#xff1a;AIOps \u67b6\u6784\u5bfc\u8bba \u7b2c 1 \u7bc7&#xff1a;\u4f20\u7edf\u76d1\u63a7\u81f4\u547d\u7f3a\u9677&#xff5c;\u5168\u65b0\u4e00\u4ee3\u6307\u6807\u65e5\u5fd7\u4e00\u4f53\u5316 AIOps \u667a\u80fd\u8fd0\u7ef4\u67b6\u6784\u603b\u89c8 1. \u4e1a\u52a1\u75db\u70b9<br \/>\n\u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\u666e\u904d\u9762\u4e34\u4ee5\u4e0b\u6838\u5fc3\u75db\u70b9&#xff1a;<br \/>\n\u75db\u70b9\u7c7b\u578b\u5177\u4f53\u8868\u73b0\u5f71\u54cd\u7a0b\u5ea6\u76d1\u63a7\u5b64\u5c9b\u6307\u6807\u3001\u65e5\u5fd7\u3001\u94fe\u8def\u8ffd\u8e2a\u5206\u6563\u5728\u4e0d\u540c\u7cfb\u7edf\u6545\u969c\u5b9a\u4f4d\u6548\u7387\u964d\u4f4e 70%\u544a\u8b66\u98ce\u66b4\u5355\u6545\u969c\u89e6\u53d1\u6570\u767e\u6761\u544a\u8b66&#xff0c;\u65e0\u964d\u566a\u673a\u5236\u8fd0\u7ef4\u4eba\u5458\u75b2\u52b3&#xff0c;\u5173\u952e\u544a\u8b66\u88ab<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1404,395],"topic":[],"class_list":["post-92210","post","type-post","status-publish","format-standard","hentry","category-server","tag-devops","tag-395"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40 - \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\/92210.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"AIOps \u5168\u94fe\u8def\u667a\u80fd\u8fd0\u7ef4 168 \u7bc7\u8fde\u8f7d \u00b7 \u5f00\u7bc7\u603b\u89c8 \u9636\u6bb5\u4e00&#xff1a;AIOps \u67b6\u6784\u5bfc\u8bba \u7b2c 1 \u7bc7&#xff1a;\u4f20\u7edf\u76d1\u63a7\u81f4\u547d\u7f3a\u9677&#xff5c;\u5168\u65b0\u4e00\u4ee3\u6307\u6807\u65e5\u5fd7\u4e00\u4f53\u5316 AIOps \u667a\u80fd\u8fd0\u7ef4\u67b6\u6784\u603b\u89c8 1. \u4e1a\u52a1\u75db\u70b9 \u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\u666e\u904d\u9762\u4e34\u4ee5\u4e0b\u6838\u5fc3\u75db\u70b9&#xff1a; \u75db\u70b9\u7c7b\u578b\u5177\u4f53\u8868\u73b0\u5f71\u54cd\u7a0b\u5ea6\u76d1\u63a7\u5b64\u5c9b\u6307\u6807\u3001\u65e5\u5fd7\u3001\u94fe\u8def\u8ffd\u8e2a\u5206\u6563\u5728\u4e0d\u540c\u7cfb\u7edf\u6545\u969c\u5b9a\u4f4d\u6548\u7387\u964d\u4f4e 70%\u544a\u8b66\u98ce\u66b4\u5355\u6545\u969c\u89e6\u53d1\u6570\u767e\u6761\u544a\u8b66&#xff0c;\u65e0\u964d\u566a\u673a\u5236\u8fd0\u7ef4\u4eba\u5458\u75b2\u52b3&#xff0c;\u5173\u952e\u544a\u8b66\u88ab\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/92210.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-09T10:40:40+00:00\" \/>\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\/92210.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/92210.html\",\"name\":\"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-09T10:40:40+00:00\",\"dateModified\":\"2026-08-09T10:40:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/92210.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/92210.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92210.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40\"}]},{\"@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":"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40 - \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\/92210.html","og_locale":"zh_CN","og_type":"article","og_title":"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"AIOps \u5168\u94fe\u8def\u667a\u80fd\u8fd0\u7ef4 168 \u7bc7\u8fde\u8f7d \u00b7 \u5f00\u7bc7\u603b\u89c8 \u9636\u6bb5\u4e00&#xff1a;AIOps \u67b6\u6784\u5bfc\u8bba \u7b2c 1 \u7bc7&#xff1a;\u4f20\u7edf\u76d1\u63a7\u81f4\u547d\u7f3a\u9677&#xff5c;\u5168\u65b0\u4e00\u4ee3\u6307\u6807\u65e5\u5fd7\u4e00\u4f53\u5316 AIOps \u667a\u80fd\u8fd0\u7ef4\u67b6\u6784\u603b\u89c8 1. \u4e1a\u52a1\u75db\u70b9 \u4f01\u4e1a\u8fd0\u7ef4\u56e2\u961f\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\u666e\u904d\u9762\u4e34\u4ee5\u4e0b\u6838\u5fc3\u75db\u70b9&#xff1a; \u75db\u70b9\u7c7b\u578b\u5177\u4f53\u8868\u73b0\u5f71\u54cd\u7a0b\u5ea6\u76d1\u63a7\u5b64\u5c9b\u6307\u6807\u3001\u65e5\u5fd7\u3001\u94fe\u8def\u8ffd\u8e2a\u5206\u6563\u5728\u4e0d\u540c\u7cfb\u7edf\u6545\u969c\u5b9a\u4f4d\u6548\u7387\u964d\u4f4e 70%\u544a\u8b66\u98ce\u66b4\u5355\u6545\u969c\u89e6\u53d1\u6570\u767e\u6761\u544a\u8b66&#xff0c;\u65e0\u964d\u566a\u673a\u5236\u8fd0\u7ef4\u4eba\u5458\u75b2\u52b3&#xff0c;\u5173\u952e\u544a\u8b66\u88ab","og_url":"https:\/\/www.wsisp.com\/helps\/92210.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-09T10:40:40+00:00","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\/92210.html","url":"https:\/\/www.wsisp.com\/helps\/92210.html","name":"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-09T10:40:40+00:00","dateModified":"2026-08-09T10:40:40+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/92210.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/92210.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/92210.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"AIOps\u7834\u89e3\u8fd0\u7ef4\u56f0\u5c40"}]},{"@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\/92210","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=92210"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92210\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=92210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=92210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=92210"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=92210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}