{"id":100947,"date":"2026-09-05T19:25:35","date_gmt":"2026-09-05T11:25:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/100947.html"},"modified":"2026-09-05T19:25:35","modified_gmt":"2026-09-05T11:25:35","slug":"%e5%ba%94%e7%94%a8%e6%80%a7%e8%83%bd%e7%9b%91%e6%b5%8b%ef%bc%88apm%ef%bc%89%e4%b9%8b-%e5%89%8d%e4%b8%96%e4%bb%8a%e7%94%9f%ef%bc%88%e4%b8%80%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/100947.html","title":{"rendered":"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"-toc\" style=\"margin-left:0px\">\n<p id=\"%E4%B8%80%E3%80%81APM%E6%A0%B8%E5%BF%83%E5%AE%9A%E4%B9%89%E4%B8%8E%E4%B8%A4%E5%A4%A7%E6%A0%B8%E5%BF%83%E6%95%B0%E6%8D%AE%E4%BD%93%E7%B3%BB-toc\" style=\"margin-left:40px\">\u4e00\u3001APM\u6838\u5fc3\u5b9a\u4e49\u4e0e\u4e24\u5927\u6838\u5fc3\u6570\u636e\u4f53\u7cfb<\/p>\n<p id=\"1.1%20APM%E5%9F%BA%E7%A1%80%E6%A6%82%E5%BF%B5-toc\" style=\"margin-left:80px\">1.1 APM\u57fa\u7840\u6982\u5ff5<\/p>\n<p id=\"1.2%20Metrics%EF%BC%88%E6%8C%87%E6%A0%87%E6%95%B0%E6%8D%AE%EF%BC%89%E6%A0%B8%E5%BF%83%E5%AE%9A%E4%B9%89%E4%B8%8E%E5%88%86%E7%B1%BB-toc\" style=\"margin-left:80px\">1.2 Metrics&#xff08;\u6307\u6807\u6570\u636e&#xff09;\u6838\u5fc3\u5b9a\u4e49\u4e0e\u5206\u7c7b<\/p>\n<p id=\"1.3%20Trace%20%26%20Span%EF%BC%88%E9%93%BE%E8%B7%AF%E8%BF%BD%E8%B8%AA%EF%BC%89%E6%A0%B8%E5%BF%83%E5%AE%9A%E4%B9%89-toc\" style=\"margin-left:80px\">1.3 Trace &amp; Span&#xff08;\u94fe\u8def\u8ffd\u8e2a&#xff09;\u6838\u5fc3\u5b9a\u4e49<\/p>\n<p>\u00a0 <\/p>\n<p id=\"%E4%BA%8C%E3%80%81APM%E5%85%A8%E9%93%BE%E8%B7%AF%E6%9E%B6%E6%9E%84-toc\" style=\"margin-left:40px\">\u4e8c\u3001APM\u5168\u94fe\u8def\u67b6\u6784<\/p>\n<\/p>\n<p id=\"2.1%20%E7%BB%84%E4%BB%B6%E8%AE%B2%E8%A7%A3-toc\" style=\"margin-left:40px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a02.1 \u7ec4\u4ef6\u8bb2\u89e3<\/p>\n<p id=\"2.1.1.%20%E6%8E%A2%E9%92%88%EF%BC%88Agent%20%2F%20SDK%EF%BC%89-toc\" style=\"margin-left:80px\">2.1.1. \u63a2\u9488&#xff08;Agent \/ SDK&#xff09;<\/p>\n<p id=\"1%EF%BC%89SDK%EF%BC%88%E4%BB%A3%E7%A0%81%E5%9F%8B%E7%82%B9%EF%BC%89-toc\" style=\"margin-left:120px\">1&#xff09;SDK&#xff08;\u4ee3\u7801\u57cb\u70b9&#xff09;<\/p>\n<p id=\"2%EF%BC%89Agent%EF%BC%88%E6%97%A0%E4%BE%B5%E5%85%A5%E6%8E%A2%E9%92%88%EF%BC%89-toc\" style=\"margin-left:120px\">2&#xff09;Agent&#xff08;\u65e0\u4fb5\u5165\u63a2\u9488&#xff09;<\/p>\n<p id=\"3%EF%BC%89eBPF%EF%BC%88Extended%20Berkeley%20Packet%20Filter%EF%BC%8C%E6%89%A9%E5%B1%95%E4%BC%AF%E5%85%8B%E5%88%A9%E5%8C%85%E8%BF%87%E6%BB%A4%E5%99%A8%EF%BC%89-toc\" style=\"margin-left:120px\">3&#xff09;eBPF&#xff08;Extended Berkeley Packet Filter&#xff0c;\u6269\u5c55\u4f2f\u514b\u5229\u5305\u8fc7\u6ee4\u5668&#xff09;<\/p>\n<p id=\"eBPF%20%E6%8E%A2%E9%92%88%E9%87%87%E9%9B%86%E5%8E%9F%E7%90%86-toc\" style=\"margin-left:120px\">eBPF \u63a2\u9488\u91c7\u96c6\u539f\u7406<\/p>\n<p id=\"eBPF%20%E6%8E%A2%E9%92%88%E8%83%BD%E9%87%87%E9%9B%86%E4%BB%80%E4%B9%88-toc\" style=\"margin-left:120px\">eBPF \u63a2\u9488\u80fd\u91c7\u96c6\u4ec0\u4e48<\/p>\n<p id=\"eBPF%20%E6%8E%A2%E9%92%88%E7%9F%AD%E6%9D%BF%EF%BC%88%E9%9D%9E%E5%B8%B8%E5%85%B3%E9%94%AE%EF%BC%8C%E4%B8%8D%E8%83%BD%E7%A5%9E%E8%AF%9D%20%E2%80%9C%E9%9B%B6%E4%BE%B5%E5%85%A5%E4%B8%87%E8%83%BD%E2%80%9D%EF%BC%89-toc\" style=\"margin-left:120px\">eBPF \u63a2\u9488\u77ed\u677f&#xff08;\u975e\u5e38\u5173\u952e&#xff0c;\u4e0d\u80fd\u795e\u8bdd \u201c\u96f6\u4fb5\u5165\u4e07\u80fd\u201d&#xff09;<\/p>\n<p id=\"eBPF%20%E5%8F%AF%E8%A7%82%E6%B5%8B%E4%B8%BB%E6%B5%81%E5%BC%80%E6%BA%90%E7%BB%84%E4%BB%B6-toc\" style=\"margin-left:120px\">eBPF \u53ef\u89c2\u6d4b\u4e3b\u6d41\u5f00\u6e90\u7ec4\u4ef6<\/p>\n<p id=\"2.1.2.Collector%EF%BC%88%E9%87%87%E9%9B%86%E5%99%A8%EF%BC%89-toc\" style=\"margin-left:80px\">2.1.2.Collector&#xff08;\u91c7\u96c6\u5668&#xff09;<\/p>\n<p id=\"2.1.3.APM%20%E5%90%8E%E7%AB%AF%EF%BC%88%E5%AD%98%E5%82%A8%20%2B%20%E8%AE%A1%E7%AE%97%E5%B1%82%EF%BC%89-toc\" style=\"margin-left:80px\">2.1.3.APM \u540e\u7aef&#xff08;\u5b58\u50a8 &#043; \u8ba1\u7b97\u5c42&#xff09;<\/p>\n<p id=\"2.1.3.1%20Metrics%20%E6%8C%87%E6%A0%87%E5%90%8E%E7%AB%AF%EF%BC%88%E6%97%B6%E5%BA%8F%E5%AD%98%E5%82%A8%EF%BC%89-toc\" style=\"margin-left:120px\">2.1.3.1 Metrics \u6307\u6807\u540e\u7aef&#xff08;\u65f6\u5e8f\u5b58\u50a8&#xff09;<\/p>\n<p id=\"2.1.3.2%20Trace%20%E9%93%BE%E8%B7%AF%E5%90%8E%E7%AB%AF-toc\" style=\"margin-left:120px\">2.1.3.2 Trace \u94fe\u8def\u540e\u7aef<\/p>\n<p id=\"2.1.3.4.%20%E5%B1%95%E7%A4%BA%E5%99%A8%EF%BC%88UI%20%E5%8F%AF%E8%A7%86%E5%8C%96%E5%B1%82%EF%BC%89-toc\" style=\"margin-left:120px\">2.1.3.4. \u5c55\u793a\u5668&#xff08;UI \u53ef\u89c6\u5316\u5c42&#xff09;<\/p>\n<p id=\"2.1.4%20%E6%A6%82%E5%BF%B5%E9%80%9F%E6%9F%A5%E8%A1%A8-toc\" style=\"margin-left:80px\">2.1.4 \u6982\u5ff5\u901f\u67e5\u8868<\/p>\n<p id=\"2.1.5%20%E5%B8%B8%E8%A7%81%E8%AF%AF%E5%8C%BA%E6%BE%84%E6%B8%85-toc\" style=\"margin-left:80px\">2.1.5 \u5e38\u89c1\u8bef\u533a\u6f84\u6e05<\/p>\n<p id=\"2.2%20Collector%E6%A0%B8%E5%BF%83%E8%83%BD%E5%8A%9B%EF%BC%88%E6%A0%B8%E5%BF%83%E4%BA%94%E5%A4%A7%E5%8A%9F%E8%83%BD%EF%BC%89-toc\" style=\"margin-left:80px\">2.2 Collector\u6838\u5fc3\u80fd\u529b&#xff08;\u6838\u5fc3\u4e94\u5927\u529f\u80fd&#xff09;<\/p>\n<p id=\"2.3%20%E4%B8%89%E5%A4%A7%E4%B8%BB%E6%B5%81%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80%E9%87%87%E9%9B%86%E6%96%B9%E6%A1%88%E9%80%82%E9%85%8D%E5%AF%B9%E6%AF%94-toc\" style=\"margin-left:80px\">2.3 \u4e09\u5927\u4e3b\u6d41\u5f00\u53d1\u8bed\u8a00\u91c7\u96c6\u65b9\u6848\u9002\u914d\u5bf9\u6bd4<\/p>\n<p id=\"2.3.1%20Java%E8%AF%AD%E8%A8%80-toc\" style=\"margin-left:120px\">2.3.1 Java\u8bed\u8a00<\/p>\n<p id=\"2.3.2%20Go%E8%AF%AD%E8%A8%80-toc\" style=\"margin-left:120px\">2.3.2 Go\u8bed\u8a00<\/p>\n<p id=\"2.3.3%20C%2B%2B%E8%AF%AD%E8%A8%80-toc\" style=\"margin-left:120px\">2.3.3 C&#043;&#043;\u8bed\u8a00<\/p>\n<p id=\"%E4%B8%89%E3%80%81APM%E8%A1%8C%E4%B8%9A%E5%8E%82%E5%95%86%E6%BC%94%E8%BF%9B%EF%BC%9A%E9%97%AD%E6%BA%90%E4%BC%A0%E7%BB%9F%E5%8E%82%E5%95%86%E5%88%B0%E5%BC%80%E6%BA%90%E4%BA%91%E5%8E%9F%E7%94%9F%E4%BD%93%E7%B3%BB-toc\" style=\"margin-left:40px\">\u4e09\u3001APM\u884c\u4e1a\u5382\u5546\u6f14\u8fdb&#xff1a;\u95ed\u6e90\u4f20\u7edf\u5382\u5546\u5230\u5f00\u6e90\u4e91\u539f\u751f\u4f53\u7cfb<\/p>\n<p id=\"3.1%20%E4%BC%A0%E7%BB%9F%E9%97%AD%E6%BA%90%E5%95%86%E4%B8%9AAPM%EF%BC%88%E5%88%9D%E4%BB%A3%E8%A1%8C%E4%B8%9A%E6%96%B9%E6%A1%88%EF%BC%89-toc\" style=\"margin-left:80px\">3.1 \u4f20\u7edf\u95ed\u6e90\u5546\u4e1aAPM&#xff08;\u521d\u4ee3\u884c\u4e1a\u65b9\u6848&#xff09;<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E6%9E%B6%E6%9E%84-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u67b6\u6784<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E7%89%B9%E7%82%B9-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u7279\u70b9<\/p>\n<p id=\"%E7%8E%B0%E7%8A%B6%E4%B8%8E%E5%B8%82%E5%9C%BA%E8%90%8E%E7%BC%A9%E5%8E%9F%E5%9B%A0-toc\" style=\"margin-left:120px\">\u73b0\u72b6\u4e0e\u5e02\u573a\u840e\u7f29\u539f\u56e0<\/p>\n<p id=\"3.2%20%E5%9B%BD%E4%BA%A7%E5%BC%80%E6%BA%90%E4%B8%80%E4%BD%93%E5%8C%96APM%EF%BC%9AApache%20SkyWalking-toc\" style=\"margin-left:80px\">3.2 \u56fd\u4ea7\u5f00\u6e90\u4e00\u4f53\u5316APM&#xff1a;Apache SkyWalking<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E6%9E%B6%E6%9E%84-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u67b6\u6784<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E6%A0%B8%E5%BF%83%E7%BB%84%E4%BB%B6OAP%E9%87%8A%E4%B9%89-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u6838\u5fc3\u7ec4\u4ef6OAP\u91ca\u4e49<\/p>\n<p id=\"%E4%BC%98%E7%BC%BA%E7%82%B9%E6%80%BB%E7%BB%93-toc\" style=\"margin-left:120px\">\u4f18\u7f3a\u70b9\u603b\u7ed3<\/p>\n<p id=\"3.3%20%E5%9B%BD%E9%99%85%E5%BC%80%E6%BA%90%E6%A0%87%E5%87%86%E4%BD%93%E7%B3%BB%EF%BC%9AOTel%20%2B%20Prometheus%20%2B%20Grafana%20%E7%94%9F%E6%80%81-toc\" style=\"margin-left:80px\">3.3 \u56fd\u9645\u5f00\u6e90\u6807\u51c6\u4f53\u7cfb&#xff1a;OTel &#043; Prometheus &#043; Grafana \u751f\u6001<\/p>\n<p id=\"%E7%BB%84%E4%BB%B6%E5%88%86%E5%B7%A5-toc\" style=\"margin-left:120px\">\u7ec4\u4ef6\u5206\u5de5<\/p>\n<p id=\"%E5%9B%9B%E3%80%81%E7%8E%B0%E4%BB%A3%E4%B8%A4%E5%A4%A7%E4%B8%BB%E6%B5%81APM%E6%9E%B6%E6%9E%84%E4%BD%93%E7%B3%BB%E6%B7%B1%E5%BA%A6%E5%AF%B9%E6%AF%94-toc\" style=\"margin-left:40px\">\u56db\u3001\u73b0\u4ee3\u4e24\u5927\u4e3b\u6d41APM\u67b6\u6784\u4f53\u7cfb\u6df1\u5ea6\u5bf9\u6bd4<\/p>\n<p id=\"4.1%20%E6%9E%B6%E6%9E%84%E4%B8%80%EF%BC%9ASkyWalking%E4%B8%80%E4%BD%93%E5%8C%96%E6%9E%B6%E6%9E%84-toc\" style=\"margin-left:80px\">4.1 \u67b6\u6784\u4e00&#xff1a;SkyWalking\u4e00\u4f53\u5316\u67b6\u6784<\/p>\n<p id=\"%E5%AE%8C%E6%95%B4%E9%93%BE%E8%B7%AF-toc\" style=\"margin-left:120px\">\u5b8c\u6574\u94fe\u8def<\/p>\n<p id=\"%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF-toc\" style=\"margin-left:120px\">\u9002\u7528\u573a\u666f<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E4%BC%98%E5%8A%BF-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u4f18\u52bf<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E7%9F%AD%E6%9D%BF-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u77ed\u677f<\/p>\n<p id=\"4.2%20%E6%9E%B6%E6%9E%84%E4%BA%8C%EF%BC%9ACNCF%E6%A0%87%E5%87%86LGTM%E6%9E%B6%E6%9E%84%EF%BC%88OTel%2BMimir%2BTempo%2BGrafana%EF%BC%89-toc\" style=\"margin-left:80px\">4.2 \u67b6\u6784\u4e8c&#xff1a;CNCF\u6807\u51c6LGTM\u67b6\u6784&#xff08;OTel&#043;Mimir&#043;Tempo&#043;Grafana&#xff09;<\/p>\n<p id=\"%E5%AE%8C%E6%95%B4%E9%93%BE%E8%B7%AF-toc\" style=\"margin-left:120px\">\u5b8c\u6574\u94fe\u8def<\/p>\n<p id=\"%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF-toc\" style=\"margin-left:120px\">\u9002\u7528\u573a\u666f<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E4%BC%98%E5%8A%BF-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u4f18\u52bf<\/p>\n<p id=\"%E6%A0%B8%E5%BF%83%E7%9F%AD%E6%9D%BF-toc\" style=\"margin-left:120px\">\u6838\u5fc3\u77ed\u677f<\/p>\n<p id=\"4.3%20%E6%9E%B6%E6%9E%84%E4%B8%89%EF%BC%9A%E5%8D%95%E6%9C%BA%E7%AE%80%E6%98%93%E5%8E%9F%E5%9E%8B%E6%9E%B6%E6%9E%84%EF%BC%88%E5%B0%8F%E9%9B%86%E7%BE%A4%E3%80%81%E6%B5%8B%E8%AF%95%E7%8E%AF%E5%A2%83%EF%BC%89-toc\" style=\"margin-left:80px\">4.3 \u67b6\u6784\u4e09&#xff1a;\u5355\u673a\u7b80\u6613\u539f\u578b\u67b6\u6784&#xff08;\u5c0f\u96c6\u7fa4\u3001\u6d4b\u8bd5\u73af\u5883&#xff09;<\/p>\n<p id=\"%E4%BA%94%E3%80%81%E4%B8%BB%E6%B5%81%E5%AD%98%E5%82%A8%E6%96%B9%E6%A1%88%E9%80%89%E5%9E%8B%EF%BC%9A%E5%BD%BB%E5%BA%95%E5%91%8A%E5%88%ABClickHouse%2BES%E4%BC%A0%E7%BB%9F%E6%9E%B6%E6%9E%84-toc\" style=\"margin-left:40px\">\u4e94\u3001\u4e3b\u6d41\u5b58\u50a8\u65b9\u6848\u9009\u578b&#xff1a;\u5f7b\u5e95\u544a\u522bClickHouse&#043;ES\u4f20\u7edf\u67b6\u6784<\/p>\n<p id=\"5.1%20%E4%BC%A0%E7%BB%9F%E6%9E%B6%E6%9E%84%EF%BC%9AClickHouse%20%2B%20ES-toc\" style=\"margin-left:80px\">5.1 \u4f20\u7edf\u67b6\u6784&#xff1a;ClickHouse &#043; ES<\/p>\n<p id=\"5.2%20%E7%8E%B0%E4%BB%A3%E6%9B%BF%E4%BB%A3%E6%96%B9%E6%A1%88%E5%AF%B9%E6%AF%94-toc\" style=\"margin-left:80px\">5.2 \u73b0\u4ee3\u66ff\u4ee3\u65b9\u6848\u5bf9\u6bd4<\/p>\n<p id=\"%E5%85%AD%E3%80%81%E8%A1%8C%E4%B8%9A%E5%A4%A7%E5%8E%82%E9%80%89%E5%9E%8B%E7%8E%B0%E7%8A%B6%E4%B8%8E%E5%BA%95%E5%B1%82%E9%80%BB%E8%BE%91-toc\" style=\"margin-left:40px\">\u516d\u3001\u884c\u4e1a\u5927\u5382\u9009\u578b\u73b0\u72b6\u4e0e\u5e95\u5c42\u903b\u8f91<\/p>\n<p id=\"6.1%20%E6%B5%B7%E5%A4%96%E5%A4%A7%E5%8E%82-toc\" style=\"margin-left:80px\">6.1 \u6d77\u5916\u5927\u5382<\/p>\n<p id=\"6.2%20%E5%9B%BD%E5%86%85%E5%A4%A7%E5%8E%82%E9%80%89%E5%9E%8B%E4%B8%A4%E6%9E%81%E5%88%86%E5%8C%96-toc\" style=\"margin-left:80px\">6.2 \u56fd\u5185\u5927\u5382\u9009\u578b\u4e24\u6781\u5206\u5316<\/p>\n<p id=\"6.3%20%E6%8B%9B%E8%81%98%E6%8A%80%E6%9C%AF%E6%A0%88%E5%BA%95%E5%B1%82%E9%80%BB%E8%BE%91-toc\" style=\"margin-left:80px\">6.3 \u62db\u8058\u6280\u672f\u6808\u5e95\u5c42\u903b\u8f91<\/p>\n<p id=\"%E4%B8%83%E3%80%81%E5%85%A8%E6%96%87%E6%80%BB%E7%BB%93%E4%B8%8E%E9%80%89%E5%9E%8B%E7%BB%88%E6%9E%81%E5%BB%BA%E8%AE%AE-toc\" style=\"margin-left:40px\">\u4e03\u3001\u5168\u6587\u603b\u7ed3\u4e0e\u9009\u578b\u7ec8\u6781\u5efa\u8bae<\/p>\n<hr id=\"hr-toc\" \/>\n<h3 id=\"%E4%B8%80%E3%80%81APM%E6%A0%B8%E5%BF%83%E5%AE%9A%E4%B9%89%E4%B8%8E%E4%B8%A4%E5%A4%A7%E6%A0%B8%E5%BF%83%E6%95%B0%E6%8D%AE%E4%BD%93%E7%B3%BB\">\u4e00\u3001APM\u6838\u5fc3\u5b9a\u4e49\u4e0e\u4e24\u5927\u6838\u5fc3\u6570\u636e\u4f53\u7cfb<\/h3>\n<h4 id=\"1.1%20APM%E5%9F%BA%E7%A1%80%E6%A6%82%E5%BF%B5\">1.1 APM\u57fa\u7840\u6982\u5ff5<\/h4>\n<p>\u5982\u679c\u6211\u4eec\u5199\u4e86\u4e00\u7b80\u5355\u5c0f\u7a0b\u5e8f&#xff0c;\u90a3\u4e48\u81ea\u5df1\u5355\u5143\u6d4b\u8bd5&#xff0c;\u538b\u529b\u6d4b\u8bd5&#xff0c;\u65e5\u5fd7\u8bb0\u5f55\u4e00\u4e0b\u5f02\u5e38\u548c\u8017\u65f6\u53ef\u80fd\u5c31\u591f\u7528\u4e86&#xff0c;\u4f46\u662f\u5f53\u7cfb\u7edf\u8db3\u591f\u590d\u6742\u7684\u65f6\u5019&#xff0c;\u5c31\u9700\u8981\u6709\u4e00\u6574\u5957\u7cfb\u7edf\u6765\u76d1\u6d4b\u6574\u4f53\u8fd0\u884c\u60c5\u51b5\u3002\u8fd9\u5305\u62ec\u670d\u52a1\u5668\u672c\u8eab&#xff0c;\u4e5f\u5305\u62ec\u4e86\u5404\u79cd\u5e94\u7528\u4ee5\u53ca\u4e1a\u52a1\u8fd0\u884c\u72b6\u6001\u7b49\u3002<\/p>\n<p>APM&#xff08;Application Performance Monitoring&#xff0c;\u5e94\u7528\u6027\u80fd\u76d1\u63a7&#xff09;\u662f\u4e91\u539f\u751f\u3001\u5fae\u670d\u52a1\u67b6\u6784\u4e0b\u7684\u6838\u5fc3\u53ef\u89c2\u6d4b\u57fa\u7840\u8bbe\u65bd&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u5b9e\u73b0\u5206\u5e03\u5f0f\u5e94\u7528\u7684\u6027\u80fd\u8ffd\u8e2a\u3001\u6545\u969c\u5b9a\u4f4d\u3001\u6307\u6807\u544a\u8b66\u4e0e\u670d\u52a1\u6cbb\u7406\u3002\u5fae\u670d\u52a1\u67b6\u6784\u4e0b&#xff0c;\u4e00\u6b21\u7528\u6237\u8bf7\u6c42\u4f1a\u8de8\u6570\u5341\u4e2a\u670d\u52a1\u3001\u4e2d\u95f4\u4ef6\u3001\u6570\u636e\u5e93\u3001\u7f51\u5173&#xff0c;\u4f20\u7edf\u76d1\u63a7\u5b8c\u5168\u65e0\u6cd5\u8ffd\u8e2a\u8c03\u7528\u94fe\u8def\u3002<\/p>\n<p>APM\u7684\u6838\u5fc3\u4ef7\u503c&#xff0c;\u5c31\u662f\u6253\u901a\u5e94\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u57fa\u7840\u8bbe\u65bd\u5c42\u7684\u5168\u7ef4\u5ea6\u89c2\u6d4b\u6570\u636e&#xff0c;\u5b9e\u73b0\u4ece\u201c\u5927\u76d8\u53d1\u73b0\u5f02\u5e38\u201d\u5230\u201c\u7cbe\u51c6\u5b9a\u4f4d\u4ee3\u7801\u7ea7\u74f6\u9888\u201d\u7684\u5168\u6d41\u7a0b\u95ed\u73af&#xff0c;\u662f\u4e92\u8054\u7f51\u4f01\u4e1a\u3001\u4e91\u670d\u52a1\u5546\u3001\u653f\u4f01\u7cfb\u7edf\u7a33\u5b9a\u6027\u4fdd\u969c\u7684\u6838\u5fc3\u5e95\u5ea7\u3002<\/p>\n<p>\u5b8c\u6574\u7684\u73b0\u4ee3\u53ef\u89c2\u6d4b\u4f53\u7cfb\u5305\u542bMetrics&#xff08;\u6307\u6807&#xff09;\u3001Trace&#xff08;\u94fe\u8def\u8ffd\u8e2a&#xff09;\u3001Logs&#xff08;\u65e5\u5fd7&#xff09;\u4e09\u5927\u652f\u67f1&#xff0c;\u5176\u4e2dMetrics\u4e0eTrace\u662fAPM\u7684\u6838\u5fc3\u9aa8\u67b6&#xff0c;\u65e5\u5fd7\u4f5c\u4e3a\u8f85\u52a9\u6392\u67e5\u624b\u6bb5&#xff0c;\u4e09\u8005\u4e92\u8865\u6784\u6210\u5b8c\u6574\u89c2\u6d4b\u80fd\u529b\u3002<\/p>\n<h4 id=\"1.2%20Metrics%EF%BC%88%E6%8C%87%E6%A0%87%E6%95%B0%E6%8D%AE%EF%BC%89%E6%A0%B8%E5%BF%83%E5%AE%9A%E4%B9%89%E4%B8%8E%E5%88%86%E7%B1%BB\">1.2 Metrics&#xff08;\u6307\u6807\u6570\u636e&#xff09;\u6838\u5fc3\u5b9a\u4e49\u4e0e\u5206\u7c7b<\/h4>\n<p>Metrics\u662f\u7ed3\u6784\u5316\u3001\u53ef\u805a\u5408\u3001\u65f6\u5e8f\u5316\u7684\u6570\u503c\u6570\u636e&#xff0c;\u7528\u4e8e\u7edf\u8ba1\u7cfb\u7edf\u3001\u670d\u52a1\u3001\u4e1a\u52a1\u7684\u957f\u671f\u8fd0\u884c\u8d8b\u52bf&#xff0c;\u662f\u544a\u8b66\u3001\u5927\u76d8\u89c2\u6d4b\u3001\u5bb9\u91cf\u8bc4\u4f30\u7684\u6838\u5fc3\u4f9d\u636e&#xff0c;\u5177\u5907\u5199\u5165\u8f7b\u3001\u5b58\u50a8\u91cf\u5c0f\u3001\u53ef\u9884\u805a\u5408\u3001\u9002\u5408\u7edf\u8ba1\u5206\u6790\u7684\u7279\u70b9\u3002<\/p>\n<p>Metrics\u7684\u672c\u8d28\u662f\u5bf9\u7cfb\u7edf\u72b6\u6001\u7684\u91cf\u5316\u5feb\u7167&#xff0c;\u4e0d\u8bb0\u5f55\u5355\u6b21\u8bf7\u6c42\u7ec6\u8282&#xff0c;\u53ea\u8f93\u51fa\u805a\u5408\u7edf\u8ba1\u7ed3\u679c&#xff0c;\u751f\u4ea7\u4e2d\u5206\u4e3a\u56db\u5927\u6807\u51c6\u6570\u636e\u6a21\u578b&#xff1a;<\/p>\n<li>\n<p>Counter\u8ba1\u6570\u5668&#xff1a;\u53ea\u9012\u589e\u4e0d\u9012\u51cf&#xff0c;\u7528\u4e8e\u7edf\u8ba1\u603b\u8bf7\u6c42\u6570\u3001\u9519\u8bef\u6570\u3001\u4e22\u5305\u6570\u3001\u63a5\u53e3\u8c03\u7528\u603b\u6b21\u6570&#xff1b;<\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"486\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112524-6a9bfc242499d.png\" width=\"512\" \/><\/li>\n<li>\n<p>Gauge\u4eea\u8868\u76d8&#xff1a;\u5b9e\u65f6\u77ac\u65f6\u503c&#xff0c;\u53ef\u5347\u53ef\u964d&#xff0c;\u7528\u4e8e\u76d1\u63a7CPU\u4f7f\u7528\u7387\u3001\u5185\u5b58\u5360\u7528\u3001goroutine\u6570\u91cf\u3001\u5728\u7ebf\u7528\u6237\u6570&#xff1b;<\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"213\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112524-6a9bfc243caba.png\" width=\"454\" \/><\/li>\n<li>\n<p>Histogram\u76f4\u65b9\u56fe&#xff1a;\u7edf\u8ba1\u6570\u636e\u5206\u5e03&#xff0c;\u6838\u5fc3\u7528\u4e8e\u8ba1\u7b97\u63a5\u53e3\u5ef6\u8fdfP50\/P95\/P99\u3001IO\u8017\u65f6\u5206\u5e03&#xff0c;\u662f\u6027\u80fd\u4f18\u5316\u7684\u6838\u5fc3\u6307\u6807&#xff1b;<\/p>\n<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"912\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112524-6a9bfc244d4c2.png\" width=\"1793\" \/><\/p>\n<li>\n<p>Summary\u6458\u8981&#xff1a;\u76f4\u63a5\u8f93\u51fa\u5206\u4f4d\u6570\u7ed3\u679c&#xff0c;\u591a\u7528\u4e8e\u8f7b\u91cf\u5316\u573a\u666f&#xff0c;\u751f\u4ea7\u4f7f\u7528\u7387\u4f4e\u4e8eHistogram\u3002<\/p>\n<\/li>\n<p>\u4ece\u4e1a\u52a1\u7ef4\u5ea6\u5212\u5206&#xff0c;Metrics\u53ef\u5206\u4e3a\u4e09\u5c42&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u57fa\u7840\u8bbe\u65bd\u6307\u6807&#xff1a;\u670d\u52a1\u5668CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8IO\u3001\u7f51\u7edc\u6d41\u91cf\u3001TCP\u8fde\u63a5\u6570\u3001\u8d1f\u8f7d\u3001\u6587\u4ef6\u53e5\u67c4\u6570&#xff1b;\u6bd4\u5982Prometheus &#043; Grafana&#xff0c;\u9762\u677f\u5305\u542b Gauge \u7c7b\u578b\u7684 CPU\u3001\u5185\u5b58\u4f7f\u7528\u7387&#xff1b;Counter \u884d\u751f\u7684\u7f51\u7edc\u6536\u53d1\u901f\u7387&#xff1b;Histogram \u78c1\u76d8 IO \u5ef6\u8fdf&#xff1a;<\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1200\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112525-6a9bfc25151fc.png\" width=\"2156\" \/><\/li>\n<li>\n<p>\u4e2d\u95f4\u4ef6\u6307\u6807&#xff1a;\u6bd4\u5982\u5411\u91cf\u6570\u636e\u5e93&#xff08;Qdrant&#xff09;\u3001\u68c0\u7d22\u5f15\u64ce&#xff08;Meilisearch&#xff09;\u3001\u5927\u6a21\u578b\u670d\u52a1&#xff08;Ollama&#xff09;\u7684QPS\u3001\u5ef6\u8fdf\u3001\u9519\u8bef\u7387\u3001\u5e76\u53d1\u6570&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e1a\u52a1\u81ea\u5b9a\u4e49\u6307\u6807&#xff1a;\u6bd4\u5982&#xff0c;RAG\u68c0\u7d22\u6210\u529f\u7387\u3001Embedding\u8c03\u7528\u8017\u65f6\u3001LLM Token\u541e\u5410\u3001\u5de5\u5177\u8c03\u7528\u6b21\u6570\u3001\u4e1a\u52a1\u62a5\u9519\u8ba1\u6570\u5668\u3002<\/p>\n<\/li>\n<\/ul>\n<h4 id=\"1.3%20Trace%20%26%20Span%EF%BC%88%E9%93%BE%E8%B7%AF%E8%BF%BD%E8%B8%AA%EF%BC%89%E6%A0%B8%E5%BF%83%E5%AE%9A%E4%B9%89\">1.3 Trace &amp; Span&#xff08;\u94fe\u8def\u8ffd\u8e2a&#xff09;\u6838\u5fc3\u5b9a\u4e49<\/h4>\n<p>Trace\u662f\u5355\u6b21\u7528\u6237\u8bf7\u6c42\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\u7684\u5b8c\u6574\u8c03\u7528\u8f68\u8ff9&#xff0c;\u7531\u5168\u5c40\u552f\u4e00TraceID\u4e32\u8054\u6240\u6709\u8c03\u7528\u8282\u70b9&#xff0c;\u8bb0\u5f55\u8bf7\u6c42\u4ece\u5165\u53e3\u5230\u7ed3\u675f\u7684\u5168\u6d41\u7a0b\u8def\u5f84\u3001\u8017\u65f6\u3001\u62a5\u9519\u4fe1\u606f\u3001\u8c03\u7528\u53c2\u6570\u3002<\/p>\n<p>Span\u662fTrace\u7684\u6700\u5c0f\u6267\u884c\u5355\u5143&#xff0c;\u4ee3\u8868\u4e00\u6b21\u5177\u4f53\u7684\u64cd\u4f5c&#xff0c;\u6bd4\u5982HTTP\u8bf7\u6c42\u3001\u6570\u636e\u5e93\u67e5\u8be2\u3001\u7f13\u5b58\u8bfb\u53d6\u3001\u5185\u90e8\u51fd\u6570\u8c03\u7528\u3001RPC\u8c03\u7528\u3002\u4e00\u6761\u5b8c\u6574\u7684Trace\u7531\u591a\u4e2a\u7236\u5b50\u5d4c\u5957\u7684Span\u7ec4\u6210&#xff0c;\u5f62\u6210\u6709\u5411\u65e0\u73af\u7684\u8c03\u7528\u6811&#xff0c;\u7cbe\u51c6\u8bb0\u5f55\u6bcf\u4e00\u6b65\u64cd\u4f5c\u7684\u8017\u65f6\u4e0e\u5f02\u5e38\u3002<\/p>\n<p>Trace \u6807\u51c6\u53ef\u89c6\u5316\u5f62\u5f0f\u4e3a\u7011\u5e03\u56fe&#xff08;Waterfall&#xff09;&#xff1a;\u6a2a\u8f74\u4ee3\u8868\u65f6\u95f4&#xff0c;\u6a2a\u5411\u6761\u5757\u4ee3\u8868 Span&#xff0c;\u6761\u5757\u957f\u5ea6\u4ee3\u8868\u8017\u65f6&#xff1b;\u7f29\u8fdb\u4ee3\u8868\u7236\u5b50\u8c03\u7528\u5c42\u7ea7&#xff1b;\u4e0d\u540c\u989c\u8272\u533a\u5206\u4e0d\u540c\u670d\u52a1&#xff1b;\u7ea2\u8272\u6807\u8bb0\u5f02\u5e38\u62a5\u9519 Span\u3002\u4e0b\u9762\u5206\u522b\u5c55\u793a Jaeger \u4e0e SkyWalking \u7684\u5178\u578b\u754c\u9762\u3002<\/p>\n<p>Jaeger \u94fe\u8def\u793a\u4f8b\u754c\u9762&#xff08;\u5f00\u6e90\u7ecf\u5178 Trace \u5b9e\u73b0&#xff0c;Tempo \u4e5f\u517c\u5bb9 Jaeger UI&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1859\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112526-6a9bfc265b0d5.png\" width=\"3360\" \/><\/p>\n<p>Jaeger Trace \u8be6\u60c5\u7011\u5e03\u56fe\u8bf4\u660e&#xff1a;<\/p>\n<li>\n<p>\u9876\u90e8&#xff1a;Trace \u603b\u8017\u65f6\u3001TraceID\u3001\u8fd9\u6761\u94fe\u8def\u4e00\u5171\u5305\u542b\u591a\u5c11\u4e2a Span&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5de6\u4fa7\u5217\u8868&#xff1a;\u670d\u52a1\u3001\u64cd\u4f5c\u540d\u79f0&#xff0c;\u5c42\u7ea7\u7f29\u8fdb\u8868\u8fbe\u7236\u5b50\u8c03\u7528\u5173\u7cfb&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e2d\u95f4\u4e3b\u533a\u57df&#xff1a;\u65f6\u95f4\u8f74\u7011\u5e03\u6761&#xff0c;\u6a2a\u5411\u957f\u5ea6 &#061; Span \u8017\u65f6&#xff1b;\u4e0d\u540c\u989c\u8272\u4ee3\u8868\u4e0d\u540c\u670d\u52a1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u70b9\u51fb\u4efb\u610f Span \u6761&#xff0c;\u53ef\u4ee5\u5c55\u5f00\u67e5\u770b tags \u6807\u7b7e\u3001http \u72b6\u6001\u7801\u3001\u5f02\u5e38\u5806\u6808\u3001\u4e8b\u4ef6\u65e5\u5fd7&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u62a5\u9519\u7684 Span \u4f1a\u9ad8\u4eae\u7ea2\u8272\u3002<\/p>\n<\/li>\n<p>Jaeger \u641c\u7d22\u5217\u8868\u9875&#xff1a;\u53ef\u4ee5\u6309\u670d\u52a1\u540d\u3001\u8017\u65f6\u533a\u95f4\u3001\u9519\u8bef tag \u7b5b\u9009 Trace \u5217\u8868&#xff0c;\u518d\u70b9\u8fdb\u53bb\u67e5\u770b\u5b8c\u6574\u7011\u5e03\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1671\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112528-6a9bfc28ebfc3.png\" width=\"3833\" \/><\/p>\n<\/p>\n<p>Jaeger \u7684\u7279\u70b9&#xff1a;UI \u5b8c\u5168\u56f4\u7ed5 Trace \u6a21\u578b\u8bbe\u8ba1&#xff0c;\u4e0d\u5185\u7f6e\u6307\u6807\u5927\u76d8&#xff1b;\u53ef\u4ee5\u5bf9\u63a5 Mimir\/Prometheus \u63d0\u4f9b Metrics \u544a\u8b66&#xff1b;\u5b58\u50a8\u540e\u7aef\u53ef\u4ee5\u7528 ES\u3001Cassandra&#xff0c;\u73b0\u5728\u66f4\u591a\u642d\u914d Tempo \u505a\u5b58\u50a8\u3002<\/p>\n<\/p>\n<p>Apache SkyWalking Trace \u793a\u4f8b\u754c\u9762&#xff08;\u56fd\u5185\u4e3b\u6d41 APM&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1332\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112531-6a9bfc2b61a49.png\" width=\"2510\" \/><\/p>\n<li>\n<p>\u540c\u6837\u662f\u7011\u5e03\u56fe&#xff0c;\u6a2a\u8f74\u65f6\u95f4\u8f74&#xff0c;\u7f29\u8fdb\u4ee3\u8868\u8c03\u7528\u7236\u5b50\u5c42\u7ea7&#xff1b;\u5f02\u5e38 Span \u6807\u7ea2&#xff1b;<\/p>\n<\/li>\n<li>\n<p>SkyWalking \u72ec\u6709\u6982\u5ff5 Segment&#xff1a;\u540c\u4e00\u4e2a\u8fdb\u7a0b \/ \u670d\u52a1\u5185\u7684\u4e00\u7ec4 Span \u96c6\u5408&#xff1b;\u4e00\u6761 Trace \u4f1a\u7531\u591a\u4e2a Segment \u62fc\u63a5\u800c\u6210&#xff08;\u8de8\u591a\u670d\u52a1&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u652f\u6301\u4e09\u79cd\u89c6\u56fe\u5207\u6362&#xff1a;<\/p>\n<\/li>\n<ul>\n<li>\n<p>Default&#xff1a;\u7011\u5e03\u65f6\u5e8f\u89c6\u56fe&#xff08;\u6700\u5e38\u7528&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Tree&#xff1a;\u8c03\u7528\u6811\u62d3\u6251\u56fe&#xff0c;\u5f31\u5316\u65f6\u95f4&#xff0c;\u7a81\u51fa\u8c03\u7528\u5173\u7cfb&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Statistics&#xff1a;\u5bf9\u8be5 Trace \u5185\u6240\u6709 Span \u505a\u805a\u5408\u7edf\u8ba1&#xff0c;\u7edf\u8ba1\u5404\u64cd\u4f5c\u6700\u5927\u3001\u5e73\u5747\u8017\u65f6&#xff1b;<\/p>\n<\/li>\n<\/ul>\n<li>\n<p>\u70b9\u51fb Span \u53ef\u4ee5\u770b\u5230\u7ec4\u4ef6\u7c7b\u578b&#xff08;MySQL\u3001Redis\u3001Dubbo\u3001HTTP&#xff09;\u3001\u53c2\u6570\u3001\u5f02\u5e38\u5806\u6808\u4fe1\u606f\u3002<\/p>\n<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1202\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112532-6a9bfc2cdb1ce.png\" width=\"2504\" \/><\/p>\n<p>SkyWalking \u4e0e Jaeger UI \u5173\u952e\u5dee\u5f02&#xff1a;<\/p>\n<li>\n<p>SkyWalking \u662f\u4e00\u4f53\u5316 APM&#xff0c;Trace\u3001Metrics \u5927\u76d8\u3001\u670d\u52a1\u62d3\u6251\u3001\u544a\u8b66\u5168\u90e8\u5185\u7f6e\u4e00\u5957 UI&#xff1b;Jaeger \u53ea\u4e13\u6ce8 Trace \u5c55\u793a&#xff1b;<\/p>\n<\/li>\n<li>\n<p>SkyWalking \u539f\u751f\u533a\u5206 EntrySpan&#xff08;\u670d\u52a1\u5165\u53e3&#xff09;\u3001ExitSpan&#xff08;\u8c03\u7528\u5916\u90e8&#xff09;\u3001LocalSpan&#xff08;\u672c\u5730\u65b9\u6cd5&#xff09;\u4e09\u7c7b Span&#xff1b;Jaeger\/OTel \u6ca1\u6709\u505a\u8fd9\u4e09\u7c7b\u5f3a\u533a\u5206&#xff1b;<\/p>\n<\/li>\n<li>\n<p>SkyWalking \u65e2\u53ef\u4ee5\u63a5\u6536\u79c1\u6709 Agent \u534f\u8bae&#xff0c;\u4e5f\u517c\u5bb9 OTLP \u8f93\u5165&#xff1b;\u5185\u90e8\u4f1a\u628a OTLP \u6570\u636e\u8f6c\u6362\u4e3a\u81ea\u6709\u6a21\u578b&#xff1b;Jaeger \u539f\u751f\u517c\u5bb9 OpenTracing&#xff0c;\u4e5f\u517c\u5bb9 OTLP\u3002<\/p>\n<\/li>\n<p>Jaeger vs SkyWalking Trace \u80fd\u529b\u5bf9\u6bd4\u8868<\/p>\n<p>\u8868\u683c<\/p>\n<table>\n<tr>\u9879\u76eeJaegerSkyWalking<\/tr>\n<tbody>\n<tr>\n<td>UI \u5b9a\u4f4d<\/td>\n<td>\u53ea\u505a\u94fe\u8def\u67e5\u8be2&#xff0c;\u65e0\u5185\u7f6e\u6307\u6807\u5927\u76d8<\/td>\n<td>\u4e00\u4f53\u5316 APM&#xff0c;Trace\u3001\u6307\u6807\u3001\u62d3\u6251\u3001\u544a\u8b66\u4e00\u4f53<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u6765\u6e90<\/td>\n<td>Jaeger\u2011Agent\u3001OTLP<\/td>\n<td>SkyWalking Agent\u3001OTLP<\/td>\n<\/tr>\n<tr>\n<td>\u6838\u5fc3\u89c6\u56fe<\/td>\n<td>\u7011\u5e03\u56fe&#xff1b;Trace \u5217\u8868\u7b5b\u9009<\/td>\n<td>\u7011\u5e03\u56fe\u3001\u8c03\u7528\u6811\u89c6\u56fe\u3001\u7edf\u8ba1\u805a\u5408\u89c6\u56fe<\/td>\n<\/tr>\n<tr>\n<td>\u7279\u6b8a\u6982\u5ff5<\/td>\n<td>TraceID\u3001SpanID\u3001ParentSpanID<\/td>\n<td>\u589e\u52a0 Segment&#xff08;\u8fdb\u7a0b\u5185 Span \u7ec4&#xff09;&#xff1b;Entry\/Exit\/Local Span<\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8<\/td>\n<td>ES\u3001Cassandra\u3001Tempo<\/td>\n<td>ES\u3001BanyanDB\u3001ClickHouse<\/td>\n<\/tr>\n<tr>\n<td>\u5168\u6587\u68c0\u7d22<\/td>\n<td>\u4f9d\u8d56\u5e95\u5c42\u5b58\u50a8\u80fd\u529b<\/td>\n<td>\u539f\u751f\u652f\u6301\u6309\u5f02\u5e38\u4fe1\u606f\u3001\u6807\u7b7e\u68c0\u7d22\u94fe\u8def<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"%E5%B7%A5%E7%A8%8B%E8%90%BD%E5%9C%B0%E8%A6%81%E7%82%B9\">\u5de5\u7a0b\u843d\u5730\u8981\u70b9<\/h3>\n<li>\n<p>\u7011\u5e03\u56fe\u9605\u8bfb\u6280\u5de7&#xff1a;\u6a2a\u5411\u6761\u8d8a\u957f\u4ee3\u8868\u8d8a\u8017\u65f6&#xff1b;\u4f18\u5148\u770b\u6700\u957f\u7684 Span \u5b9a\u4f4d\u6027\u80fd\u74f6\u9888&#xff1b;\u7ea2\u8272\u6761\u4ee3\u8868\u5f02\u5e38\u70b9&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u751f\u4ea7\u4e0d\u8981\u628a Trace \u548c Metrics \u653e\u540c\u4e00\u4e2a\u6570\u636e\u5e93&#xff1b;Trace \u6d77\u91cf\u5199\u5165\u538b\u529b\u4e0d\u80fd\u51b2\u51fb\u6307\u6807\u67e5\u8be2&#xff1b;<\/p>\n<\/li>\n<li>\n<p>OTel\u2011Collector \u53ef\u4ee5\u505a\u6865\u63a5&#xff1a;\u4e1a\u52a1\u8f93\u51fa OTLP&#xff0c;\u65e2\u53ef\u4ee5\u8f93\u51fa Trace \u5230 Tempo&#xff08;\u7528 Grafana\/Jaeger UI \u67e5\u770b&#xff09;&#xff0c;\u4e5f\u53ef\u4ee5\u8f93\u51fa\u5230 SkyWalking OAP&#xff0c;\u4e00\u5957\u57cb\u70b9\u53ef\u4ee5\u5bf9\u63a5\u4e24\u5957\u540e\u7aef\u3002<\/p>\n<\/li>\n<p>Trace\u7684\u6838\u5fc3\u4ef7\u503c\u4e0eMetrics\u5b8c\u5168\u4e92\u8865&#xff1a;<\/p>\n<ul>\n<li>\n<p>Metrics\u770b\u8d8b\u52bf&#xff1a;\u53d1\u73b0\u201c\u670d\u52a1P95\u5ef6\u8fdf\u98d9\u5347\u3001\u9519\u8bef\u7387\u4e0a\u6da8\u201d\u7684\u5b8f\u89c2\u5f02\u5e38&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Trace\u770b\u7ec6\u8282&#xff1a;\u5b9a\u4f4d\u201c\u5177\u4f53\u54ea\u4e00\u6b21\u8bf7\u6c42\u3001\u54ea\u4e00\u4e2a\u670d\u52a1\u3001\u54ea\u4e00\u6bb5\u4ee3\u7801\u5bfc\u81f4\u5ef6\u8fdf\u8fc7\u9ad8\u201d\u7684\u5fae\u89c2\u6839\u56e0\u3002<\/p>\n<\/li>\n<\/ul>\n<p>Trace\u6570\u636e\u5177\u5907\u5199\u5165\u91cf\u5927\u3001\u9ad8\u57fa\u6570\u3001\u5b58\u50a8\u6210\u672c\u9ad8\u3001\u5199\u591a\u8bfb\u5c11\u7684\u7279\u70b9&#xff0c;\u7edd\u5927\u591a\u6570\u94fe\u8def\u6570\u636e\u4e0d\u4f1a\u88ab\u4e8c\u6b21\u67e5\u8be2&#xff0c;\u4ec5\u6545\u969c\u6392\u67e5\u65f6\u6309\u9700\u68c0\u7d22&#xff0c;\u8fd9\u4e5f\u662fTrace\u4e0eMetrics\u5fc5\u987b\u7269\u7406\u5206\u5e93\u5b58\u50a8\u7684\u6838\u5fc3\u539f\u56e0\u3002<\/p>\n<p>\u8fd9\u91cc\u89e3\u91ca\u4e00\u4e2a\u7ec6\u8282&#xff1a;\u6bcf\u4e2atrace\u90fd\u6709traceId&#xff0c;\u4e00\u822c\u662fuuid\u6216\u8005\u7b97\u6cd5\u751f\u6210\u7684\u552f\u4e00\u7f16\u53f7&#xff0c;\u5e26\u7740\u8fd9\u4e2a\u7f16\u53f7\u53bb\u8bb0\u5f55\u7684\u5404\u4e2a span \u5c31\u80fd\u5728\u540e\u7aef\u7ec4\u7ec7\u8d77\u6765&#xff0c;\u4e00\u822c\u5728http\u4e1a\u52a1\u4e2d&#xff0c;\u53ef\u4ee5\u5728header\u4e2d\u4f20\u9012\u76f8\u5173\u4fe1\u606f&#xff1b;<\/p>\n<h3 id=\"%E4%BA%8C%E3%80%81APM%E5%85%A8%E9%93%BE%E8%B7%AF%E6%9E%B6%E6%9E%84\">\u4e8c\u3001APM\u5168\u94fe\u8def\u67b6\u6784<\/h3>\n<h3 id=\"2.1%20%E7%BB%84%E4%BB%B6%E8%AE%B2%E8%A7%A3\">2.1 \u7ec4\u4ef6\u8bb2\u89e3<\/h3>\n<p>\u4e00\u5957\u5b8c\u6574 APM \u7cfb\u7edf&#xff0c;\u903b\u8f91\u4e0a\u5206\u4e3a 4 \u5c42&#xff0c;\u4ece\u4e0a\u5230\u4e0b&#xff1a;\u63a2\u9488 (Agent\/SDK) \u2192 Collector \u91c7\u96c6\u7f51\u5173 \u2192 APM \u540e\u7aef\u5b58\u50a8 &amp; \u8ba1\u7b97\u5c42 \u2192 \u5c55\u793a\u5668 (UI \u53ef\u89c6\u5316)\u3002 \u5f88\u591a\u4eba\u4f1a\u628a\u63a2\u9488\u3001Collector\u3001\u540e\u7aef\u3001UI \u6df7\u4e3a\u4e00\u8c08&#xff0c;\u8fd9\u91cc\u628a\u6bcf\u4e00\u5c42\u804c\u8d23\u3001\u8fb9\u754c\u3001\u5f00\u6e90\u7ec4\u4ef6\u8bb2\u6e05\u695a\u3002<\/p>\n<p>\u3010\u4e1a\u52a1\u5e94\u7528\u8fdb\u7a0b\u3011<br \/>\n \u00a0 \u00a0 \u00a0  \u2193<br \/>\n\u63a2\u9488&#xff08;Agent \/ SDK&#xff09;&#xff1a;\u57cb\u70b9\u91c7\u96c6&#xff0c;\u751f\u6210Metrics \/ Trace \/ Logs<br \/>\n \u00a0 \u00a0 \u00a0  \u2193\u7f51\u7edc&#xff08;OTLP \/ \u79c1\u6709\u534f\u8bae&#xff09;<br \/>\nCollector&#xff08;\u91c7\u96c6\u7f51\u5173&#xff09;&#xff1a;\u534f\u8bae\u8f6c\u6362\u3001\u6279\u5904\u7406\u3001\u8fc7\u6ee4\u3001\u7f13\u51b2\u3001\u6247\u51fa\u8f6c\u53d1<br \/>\n \u00a0 \u00a0 \u00a0  \u2193<br \/>\nAPM\u540e\u7aef&#xff08;\u5b58\u50a8&#043;\u8ba1\u7b97&#xff09;&#xff1a;\u63a5\u6536\u6570\u636e\u3001\u6301\u4e45\u5316\u3001\u805a\u5408\u8ba1\u7b97\u3001\u544a\u8b66\u89c4\u5219\u6267\u884c<br \/>\n \u00a0 \u00a0 \u00a0  \u2193<br \/>\n\u5c55\u793a\u5668&#xff08;UI&#xff09;&#xff1a;\u5927\u76d8\u56fe\u8868\u3001Trace\u7011\u5e03\u56fe\u3001\u670d\u52a1\u62d3\u6251\u3001\u544a\u8b66\u5c55\u793a <\/p>\n<h4 id=\"2.1.1.%20%E6%8E%A2%E9%92%88%EF%BC%88Agent%20%2F%20SDK%EF%BC%89\">2.1.1. \u63a2\u9488&#xff08;Agent \/ SDK&#xff09;<\/h4>\n<p>\u8fd0\u884c\u5728\u4e1a\u52a1\u670d\u52a1\u6240\u5728\u673a\u5668 \/ \u8fdb\u7a0b\u5185\u90e8&#xff0c;\u8d1f\u8d23\u751f\u6210\u89c2\u6d4b\u6570\u636e&#xff0c;\u662f\u6570\u636e\u6765\u6e90\u3002 \u4e24\u79cd\u5f62\u6001&#xff1a;SDK \u4ee3\u7801\u57cb\u70b9\u3001Agent \u65e0\u4fb5\u5165\u63a2\u9488\u3002\u4e1a\u52a1\u63a2\u9488\u4f18\u5148\u5168\u90e8\u91c7\u7528 OpenTelemetry SDK \/ OTel\u2011Java Agent&#xff0c;\u5c3d\u91cf\u7edf\u4e00\u6570\u636e\u534f\u8bae\u4e3a OTLP&#xff0c;\u4e0d\u5fc5\u6df7\u7528 Jaeger\u3001SkyWalking \u79c1\u6709\u534f\u8bae\u3002\u63a2\u9488\u7edf\u4e00\u4f7f\u7528 OpenTelemetry&#xff08;OTel&#xff09;\u5c31\u53ef\u4ee5&#xff0c;\u4ed6\u4eec\u7684\u534f\u8bae\u5df2\u7ecf\u6210\u4e3a\u6807\u51c6\u88ab\u5404\u4e2a\u5382\u5546\u517c\u5bb9\u3002<\/p>\n<\/p>\n<p>OTLP \u534f\u8bae&#xff08;OpenTelemetry Protocol&#xff09;<\/p>\n<p>OTLP \u662f OpenTelemetry \u5b9a\u4e49\u7684\u6807\u51c6\u53ef\u89c2\u6d4b\u6570\u636e\u534f\u8bae&#xff0c;\u4f20\u8f93 Metrics\u3001Trace\u3001Logs \u4e09\u7c7b\u4fe1\u53f7\u3002<\/p>\n<ul>\n<li>\n<p>\u5e8f\u5217\u5316&#xff1a;Protobuf&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4f20\u8f93&#xff1a;gRPC&#xff08;\u63a8\u8350&#xff09; \/ HTTP\u2011protobuf&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6d41\u5411&#xff1a;\u63a2\u9488\u4e3b\u52a8\u4e0a\u62a5&#xff08;Push \u63a8\u9001\u6a21\u5f0f&#xff09;&#xff0c;\u63a2\u9488\u628a\u6570\u636e\u53d1\u7ed9 OpenTelemetry\u2011Collector\u3002<\/p>\n<\/li>\n<\/ul>\n<h5 id=\"1%EF%BC%89SDK%EF%BC%88%E4%BB%A3%E7%A0%81%E5%9F%8B%E7%82%B9%EF%BC%89\">1&#xff09;SDK&#xff08;\u4ee3\u7801\u57cb\u70b9&#xff09;<\/h5>\n<p>\u628a\u5e93\u7f16\u8bd1\u94fe\u63a5\u8fdb\u4e1a\u52a1\u7a0b\u5e8f&#xff0c;\u4e1a\u52a1\u4ee3\u7801\u663e\u5f0f\u8c03\u7528 API \u57cb\u70b9\u3002<\/p>\n<ul>\n<li>\n<p>Go&#xff1a;go.opentelemetry.io OTel\u2011Go SDK<\/p>\n<\/li>\n<li>\n<p>C&#043;&#043;&#xff1a;opentelemetry\u2011cpp<\/p>\n<\/li>\n<li>\n<p>Java&#xff1a;OpenTelemetry Java SDK \u7279\u70b9&#xff1a;\u4fb5\u5165\u4e1a\u52a1\u4ee3\u7801&#xff1b;\u53ef\u63a7\u6027\u5f3a&#xff1b;Go\/C&#043;&#043; \u6ca1\u6709\u65e0\u4fb5\u5165\u65b9\u6848&#xff0c;\u53ea\u80fd SDK \u57cb\u70b9\u3002<\/p>\n<\/li>\n<\/ul>\n<h5 id=\"2%EF%BC%89Agent%EF%BC%88%E6%97%A0%E4%BE%B5%E5%85%A5%E6%8E%A2%E9%92%88%EF%BC%89\">2&#xff09;Agent&#xff08;\u65e0\u4fb5\u5165\u63a2\u9488&#xff09;<\/h5>\n<p>\u4e0d\u4fee\u6539\u4e1a\u52a1\u4ee3\u7801&#xff0c;\u9644\u52a0\u5230\u4e1a\u52a1\u8fdb\u7a0b&#xff0c;\u62e6\u622a\u6846\u67b6\u3001RPC\u3001\u6570\u636e\u5e93\u8c03\u7528\u81ea\u52a8\u751f\u6210 Span\u3001\u6307\u6807\u3002<\/p>\n<ul>\n<li>\n<p>Java&#xff1a;SkyWalking\u2011Agent\u3001OpenTelemetry\u2011Java Agent&#xff08;\u2011javaagent\u53c2\u6570\u52a0\u8f7d&#xff09;<\/p>\n<\/li>\n<\/ul>\n<p>Java \u9760 JVM \u5b57\u8282\u7801\u589e\u5f3a&#xff0c;\u5c31\u662f\u5728\u7c7b\u52a0\u8f7d\u5668\u4e2d\u641e\u4e00\u4e9b\u5c0f\u52a8\u4f5c&#xff0c;\u505a\u5230\u65e0\u4fb5\u5165&#xff1b;Go\/C&#043;&#043; \u7f16\u8bd1\u578b\u8bed\u8a00\u6ca1\u6709\u8fd9\u4e2a\u80fd\u529b\u3002<\/p>\n<p>\u63a2\u9488\u53ea\u505a\u91c7\u96c6&#xff0c;\u4e0d\u505a\u5b58\u50a8\u3001\u4e0d\u505a\u590d\u6742\u805a\u5408\u3001\u4e0d\u505a\u544a\u8b66&#xff0c;\u5c3d\u91cf\u8f7b&#xff0c;\u4e0d\u80fd\u628a\u4e1a\u52a1\u641e\u6162\u3002 \u8f93\u51fa\u534f\u8bae&#xff1a;\u6807\u51c6 OTLP&#xff1b;\u6216\u8005 SkyWalking\u3001Jaeger \u79c1\u6709\u534f\u8bae\u3002<\/p>\n<h5 id=\"3%EF%BC%89eBPF%EF%BC%88Extended%20Berkeley%20Packet%20Filter%EF%BC%8C%E6%89%A9%E5%B1%95%E4%BC%AF%E5%85%8B%E5%88%A9%E5%8C%85%E8%BF%87%E6%BB%A4%E5%99%A8%EF%BC%89\">3&#xff09;eBPF&#xff08;Extended Berkeley Packet Filter&#xff0c;\u6269\u5c55\u4f2f\u514b\u5229\u5305\u8fc7\u6ee4\u5668&#xff09;<\/h5>\n<p>eBPF\u662f Linux \u5185\u6838\u63d0\u4f9b\u7684\u6c99\u7bb1\u865a\u62df\u673a\u6280\u672f&#xff0c;\u53ef\u4ee5\u5728\u5185\u6838\u4e2d\u5b89\u5168\u6267\u884c\u81ea\u5b9a\u4e49\u5b57\u8282\u7801\u7a0b\u5e8f&#xff0c;\u4e0d\u9700\u8981\u4fee\u6539\u5185\u6838\u6e90\u7801\u3001\u4e0d\u9700\u8981\u52a0\u8f7d\u5185\u6838\u6a21\u5757&#xff0c;\u901a\u8fc7 kprobe\u3001uprobe\u3001tracepoint\u3001XDP \u7b49\u94a9\u5b50\u70b9\u6355\u83b7\u7cfb\u7edf\u8c03\u7528\u3001\u51fd\u6570\u6267\u884c\u3001\u7f51\u7edc\u62a5\u6587\u4e8b\u4ef6\u535a\u5ba2\u56ed\u3002<\/p>\n<p>eBPF \u63a2\u9488\u4e0d\u5c5e\u4e8e\u4e1a\u52a1\u8fdb\u7a0b\u5185\u90e8&#xff0c;\u5b83\u8fd0\u884c\u5728\u5185\u6838&#xff0c;\u4e00\u822c\u4ee5 Node\u2011Agent&#xff08;DaemonSet&#xff09;\u5f62\u5f0f\u90e8\u7f72\u5728\u5bbf\u4e3b\u673a \/ \u8282\u70b9\u4e0a&#xff0c;\u4e0d\u9700\u8981\u4fee\u6539\u3001\u91cd\u542f\u4e1a\u52a1\u5e94\u7528&#xff0c;\u5b9e\u73b0\u8bed\u8a00\u65e0\u5173\u7684\u6570\u636e\u91c7\u96c6\u3002<\/p>\n<h5 id=\"eBPF%20%E6%8E%A2%E9%92%88%E9%87%87%E9%9B%86%E5%8E%9F%E7%90%86\">eBPF \u63a2\u9488\u91c7\u96c6\u539f\u7406<\/h5>\n<li>\n<p>\u5c06 eBPF \u5b57\u8282\u7801\u52a0\u8f7d\u8fdb\u5165\u5185\u6838&#xff0c;\u5185\u6838 Verifier \u505a\u5b89\u5168\u6821\u9a8c&#xff0c;\u9632\u6b62\u6b7b\u5faa\u73af\u3001\u975e\u6cd5\u5185\u5b58\u8bbf\u95ee&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6302\u8f7d\u94a9\u5b50&#xff1a;<\/p>\n<ul>\n<li>\n<p>kprobe&#xff1a;\u6302\u94a9\u5185\u6838\u51fd\u6570&#xff0c;\u91c7\u96c6\u7cfb\u7edf\u8c03\u7528\u3001\u7f51\u7edc\u3001IO\u3001\u8c03\u5ea6\u4e8b\u4ef6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>uprobe&#xff1a;\u6302\u94a9\u7528\u6237\u6001\u7a0b\u5e8f\u51fd\u6570&#xff0c;\u6355\u83b7\u5e94\u7528\u51fd\u6570\u8c03\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>tracepoint&#xff1a;\u5185\u6838\u7a33\u5b9a\u57cb\u70b9&#xff0c;\u7a33\u5b9a\u6027\u9ad8\u4e8e kprobe&#xff1b;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5185\u6838\u91c7\u96c6\u4e8b\u4ef6\u901a\u8fc7 ring\u2011buffer \u73af\u5f62\u7f13\u51b2\u533a\u53d1\u9001\u7ed9\u7528\u6237\u6001 eBPF\u2011Agent&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u7528\u6237\u6001 Agent \u89e3\u6790\u534f\u8bae&#xff08;HTTP\/gRPC\/MySQL\/Redis&#xff09;&#xff0c;\u751f\u6210 Metrics\u3001\u539f\u59cb Trace \u4e8b\u4ef6&#xff0c;\u53ef\u8f93\u51fa OTLP \u534f\u8bae\u4ea4\u7ed9 OpenTelemetry\u2011Collector \u7ee7\u7eed\u5904\u7406\u3002<\/p>\n<\/li>\n<h5 id=\"eBPF%20%E6%8E%A2%E9%92%88%E8%83%BD%E9%87%87%E9%9B%86%E4%BB%80%E4%B9%88\">eBPF \u63a2\u9488\u80fd\u91c7\u96c6\u4ec0\u4e48<\/h5>\n<ul>\n<li>\n<p>\u5168\u8bed\u8a00\u7f51\u7edc\u6d41\u91cf&#xff1a;HTTP\u3001gRPC\u3001SQL\u3001Redis\u3001MQ \u8bf7\u6c42\u5ef6\u8fdf\u3001\u9519\u8bef\u3001\u8bf7\u6c42\u4f53&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u7cfb\u7edf\u5c42\u9762\u6307\u6807&#xff1a;\u7cfb\u7edf\u8c03\u7528\u8017\u65f6\u3001\u9501\u7ade\u4e89\u3001\u4e0a\u4e0b\u6587\u5207\u6362\u3001\u78c1\u76d8 IO\u3001TCP \u7f51\u7edc\u5ef6\u8fdf&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6301\u7eed\u6027\u80fd\u5256\u6790&#xff1a;CPU \u706b\u7130\u56fe\u3001\u7ebf\u7a0b\u6808&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u53ef\u4ee5\u89c2\u6d4b\u95ed\u6e90\u7a0b\u5e8f\u3001\u7b2c\u4e09\u65b9\u4e2d\u95f4\u4ef6\u3001\u9057\u7559\u4e1a\u52a1&#xff0c;\u8fd9\u4e9b\u4e1a\u52a1\u65e0\u6cd5\u63a5\u5165 SDK\/Agent\u3002<\/p>\n<\/li>\n<\/ul>\n<h5 id=\"eBPF%20%E6%8E%A2%E9%92%88%E7%9F%AD%E6%9D%BF%EF%BC%88%E9%9D%9E%E5%B8%B8%E5%85%B3%E9%94%AE%EF%BC%8C%E4%B8%8D%E8%83%BD%E7%A5%9E%E8%AF%9D%20%E2%80%9C%E9%9B%B6%E4%BE%B5%E5%85%A5%E4%B8%87%E8%83%BD%E2%80%9D%EF%BC%89\">eBPF \u63a2\u9488\u77ed\u677f&#xff08;\u975e\u5e38\u5173\u952e&#xff0c;\u4e0d\u80fd\u795e\u8bdd \u201c\u96f6\u4fb5\u5165\u4e07\u80fd\u201d&#xff09;<\/h5>\n<li>\n<p>\u65e0\u6cd5\u81ea\u52a8\u4f20\u9012 TraceID \u4e0a\u4e0b\u6587&#xff1a;eBPF \u5728\u5185\u6838\u6293\u5305&#xff0c;\u770b\u4e0d\u5230\u5e94\u7528\u8fdb\u7a0b\u5185\u90e8\u4e0a\u4e0b\u6587&#xff1b;\u5982\u679c\u4e1a\u52a1\u4ee3\u7801\u6ca1\u6709\u900f\u4f20 TraceID&#xff0c;eBPF \u53ea\u80fd\u770b\u5230\u72ec\u7acb\u8bf7\u6c42&#xff0c;\u5f88\u96be\u5929\u7136\u62fc\u63a5\u5b8c\u6574\u5206\u5e03\u5f0f\u8c03\u7528\u94fe&#xff1b;\u9700\u8981\u4f9d\u9760\u62a5\u6587 header \u5185\u7684 trace\u2011id \u505a\u5173\u8054&#xff0c;\u5f02\u6b65\u3001\u8de8\u7ebf\u7a0b\u573a\u666f\u94fe\u8def\u5bb9\u6613\u65ad\u88c2\u3002<\/p>\n<\/li>\n<li>\n<p>\u62ff\u4e0d\u5230\u4e1a\u52a1\u81ea\u5b9a\u4e49\u5c5e\u6027&#xff1a;\u7528\u6237 ID\u3001\u4e1a\u52a1\u573a\u666f\u6807\u7b7e\u3001\u81ea\u5b9a\u4e49\u4e1a\u52a1 Span \u62ff\u4e0d\u5230&#xff0c;\u8fd9\u90e8\u5206\u4ecd\u7136\u9700\u8981\u4e1a\u52a1 SDK \u57cb\u70b9\u8865\u5145\u3002<\/p>\n<\/li>\n<li>\n<p>\u5185\u6838\u7248\u672c\u4f9d\u8d56&#xff1a;\u4e0d\u540c Linux \u5185\u6838\u7248\u672c\u94a9\u5b50\u80fd\u529b\u5dee\u5f02\u5927&#xff1b;\u9700\u8981\u9ad8\u6743\u9650&#xff08;CAP_BPF \u7b49&#xff09;&#xff1b;eBPF \u7a0b\u5e8f bug \u98ce\u9669\u5f71\u54cd\u6574\u4e2a\u8282\u70b9&#xff0c;\u4e0d\u662f\u5355\u4e2a\u4e1a\u52a1\u8fdb\u7a0b\u3002<\/p>\n<\/li>\n<li>\n<p>\u534f\u8bae\u89e3\u6790\u5f00\u9500&#xff1a;\u9700\u8981\u5728\u5185\u6838 \/ \u7528\u6237\u6001\u89e3\u6790\u5404\u7c7b\u5e94\u7528\u534f\u8bae&#xff0c;\u65b0\u589e\u534f\u8bae\u9700\u8981\u5347\u7ea7 eBPF \u7ec4\u4ef6\u3002<\/p>\n<\/li>\n<p>\u2705\u5de5\u7a0b\u6700\u4f73\u5b9e\u8df5&#xff1a;eBPF \u548c\u4f20\u7edf SDK\/Agent \u662f\u4e92\u8865&#xff0c;\u4e0d\u662f\u66ff\u4ee3\u3002 eBPF \u62ff\u5230\u5168\u6808\u57fa\u7ebf\u89c2\u6d4b\u3001\u7f51\u7edc\u3001\u5185\u6838\u6027\u80fd&#xff1b;\u6838\u5fc3\u4e1a\u52a1\u94fe\u8def\u7528 OTel\u2011SDK \u6ce8\u5165\u4e1a\u52a1\u6807\u7b7e\u3001Trace \u4e0a\u4e0b\u6587&#xff0c;\u4e24\u8005\u6570\u636e\u5728 Collector \/ \u540e\u7aef\u5173\u8054\u8d77\u6765&#xff0c;\u5f62\u6210\u5b8c\u6574\u8bc1\u636e\u94fe\u3002<\/p>\n<h5 id=\"eBPF%20%E5%8F%AF%E8%A7%82%E6%B5%8B%E4%B8%BB%E6%B5%81%E5%BC%80%E6%BA%90%E7%BB%84%E4%BB%B6\">eBPF \u53ef\u89c2\u6d4b\u4e3b\u6d41\u5f00\u6e90\u7ec4\u4ef6<\/h5>\n<li>\n<p>Pixie&#xff1a;\u5b8c\u6574 eBPF \u53ef\u89c2\u6d4b\u5e73\u53f0&#xff0c;\u81ea\u52a8\u91c7\u96c6 HTTP\/gRPC\/SQL\/Redis&#xff0c;\u5185\u7f6e\u67e5\u8be2 UI&#xff0c;\u53ef\u4ee5\u5bfc\u51fa OTLP \u7ed9\u5916\u90e8\u540e\u7aef&#xff1b;K8s \u573a\u666f\u4e3a\u4e3b\u3002<\/p>\n<\/li>\n<li>\n<p>Cilium\u2011Hubble&#xff1a;\u4fa7\u91cd\u7f51\u7edc\u89c2\u6d4b\u3001\u670d\u52a1\u62d3\u6251&#xff1b;\u57fa\u4e8e eBPF CNI&#xff0c;\u770b\u670d\u52a1\u4e4b\u95f4\u7f51\u7edc\u6d41\u91cf\u3001\u7f51\u7edc\u5ef6\u8fdf\u3002<\/p>\n<\/li>\n<li>\n<p>Beyla&#xff08;Grafana&#xff09;&#xff1a;eBPF \u91c7\u96c6\u5668&#xff0c;\u8f93\u51fa Prometheus \u6307\u6807\u3001OTLP Trace&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u5bf9\u63a5 OTel\u2011Collector\u3001Mimir\u3001Tempo&#xff0c;\u8f7b\u91cf&#xff0c;\u9002\u5408\u5d4c\u5165\u73b0\u6709 LGTM \u6808\u3002<\/p>\n<\/li>\n<li>\n<p>Parca \/ Pyroscope&#xff1a;eBPF \u6301\u7eed\u5256\u6790&#xff0c;\u91c7\u96c6 CPU\u3001\u5185\u5b58\u706b\u7130\u56fe\u3002<\/p>\n<\/li>\n<li>\n<p>DeepFlow&#xff1a;\u56fd\u5185\u5f00\u6e90 eBPF \u96f6\u4fb5\u6270\u53ef\u89c2\u6d4b&#xff0c;\u81ea\u52a8\u751f\u6210\u8c03\u7528\u94fe&#xff0c;\u652f\u6301\u8f93\u51fa OTLP\u3002<\/p>\n<\/li>\n<li>\n<p>SkyWalking eBPF\u2011Profiling&#xff1a;\u4f5c\u4e3a\u8865\u5145\u80fd\u529b&#xff0c;\u505a CPU\u3001\u7ebf\u7a0b\u6808\u5256\u6790&#xff0c;\u4e0d\u4f5c\u4e3a\u4e3b\u94fe\u8def\u91c7\u96c6\u3002<\/p>\n<\/li>\n<h4 id=\"2.1.2.Collector%EF%BC%88%E9%87%87%E9%9B%86%E5%99%A8%EF%BC%89\">2.1.2.Collector&#xff08;\u91c7\u96c6\u5668&#xff09;<\/h4>\n<p>\u5178\u578b\u4ee3\u8868&#xff1a;OpenTelemetry\u2011Collector\u3001Grafana Alloy\u3002<\/p>\n<p>\u4e0d\u5728\u4e1a\u52a1\u8fdb\u7a0b\u5185&#xff0c;\u72ec\u7acb\u90e8\u7f72\u7684\u670d\u52a1&#xff0c;\u662f APM \u4f53\u7cfb\u7684\u4e2d\u95f4\u8f6c\u53d1\u7ba1\u9053\u3002 \u4e5f\u5c31\u662fagent\u6216\u8005\u8fdb\u884c\u4f7f\u7528SDK\u53d1\u9001\u91c7\u96c6\u7684\u4fe1\u606f\u53d1\u9001\u5230Collector\u7136\u540e\u518d\u53d1\u9001\u5230\u540e\u7aef\u3002\u8fd9\u6837\u591a\u52a0\u4e00\u5c42\u662f\u6709\u539f\u56e0\u7684&#xff1a;<\/p>\n<p>\u2705\u6838\u5fc3\u804c\u8d23&#xff1a;<\/p>\n<li>\n<p>\u63a5\u6536\u591a\u79cd\u534f\u8bae&#xff1a;\u63a5\u6536\u63a2\u9488\u4e0a\u62a5 OTLP\u3001Jaeger\u3001Zipkin&#xff1b;\u4e5f\u53ef\u4ee5\u4e3b\u52a8\u62c9\u53d6 Prometheus \/metrics\u3002<\/p>\n<\/li>\n<li>\n<p>\u534f\u8bae\u6807\u51c6\u5316\u8f6c\u6362&#xff1a;\u628a\u591a\u79cd\u79c1\u6709\u534f\u8bae\u7edf\u4e00\u8f6c\u4e3a OTLP&#xff1b;\u4e5f\u53ef\u4ee5\u8f6c\u6210\u540e\u7aef\u9700\u8981\u7684\u683c\u5f0f\u3002<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u5904\u7406&#xff08;Processor&#xff09;&#xff1a;\u6279\u5904\u7406\u538b\u7f29\u3001\u8fc7\u6ee4\u65e0\u7528 span\u3001\u4fee\u526a\u9ad8\u57fa\u6570\u6807\u7b7e\u3001\u8131\u654f\u654f\u611f\u5b57\u6bb5\u3002<\/p>\n<\/li>\n<li>\n<p>\u524a\u5cf0\u7f13\u51b2&#xff1a;\u5185\u5b58\u961f\u5217\u3001\u78c1\u76d8\u961f\u5217&#xff1b;\u540e\u7aef\u5b58\u50a8\u6296\u52a8\u65f6\u7f13\u5b58\u6570\u636e&#xff0c;\u4fdd\u62a4\u4e1a\u52a1\u63a2\u9488\u4e0d\u88ab\u53cd\u538b\u3002<\/p>\n<\/li>\n<li>\n<p>\u6247\u51fa&#xff08;Fan\u2011out&#xff09;&#xff1a;\u4e00\u4efd\u6570\u636e&#xff0c;\u540c\u65f6\u53d1\u7ed9\u591a\u4e2a\u540e\u7aef\u3002\u4f8b\u5982 Trace \u540c\u65f6\u53d1\u7ed9 Tempo \u548c ES&#xff1b;\u6307\u6807\u540c\u65f6\u53d1\u7ed9 Mimir \u548c VM\u3002<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u884d\u751f&#xff08;Connector&#xff09;&#xff1a;spanmetrics&#xff0c;\u4ece Trace \u81ea\u52a8\u751f\u6210 Metrics&#xff0c;\u4e0d\u7528\u4e1a\u52a1\u57cb\u70b9\u3002\u6bd4\u5982\u4ecespan\u4e2d\u77e5\u9053\u67d0\u4e2a\u6570\u636e\u5e93\u67e5\u8be2\u7684\u65f6\u5ef6\u60c5\u51b5&#xff1b;<\/p>\n<\/li>\n<p>\u2757\u91cd\u8981&#xff1a;Collector \u672c\u8eab\u4e0d\u6301\u4e45\u4fdd\u5b58\u5386\u53f2\u6570\u636e&#xff0c;\u4e0d\u505a\u6307\u6807\u805a\u5408&#xff0c;\u4e0d\u505a\u670d\u52a1\u62d3\u6251&#xff0c;\u4e0d\u505a\u544a\u8b66&#xff0c;\u53ea\u662f\u7ba1\u9053\u3002<\/p>\n<p>\u90e8\u7f72\u4e24\u79cd\u6a21\u5f0f<\/p>\n<li>\n<p>Agent \u6a21\u5f0f&#xff1a;\u6bcf\u53f0\u673a\u5668\u90e8\u7f72\u4e00\u4e2a Collector&#xff0c;\u672c\u673a\u63a2\u9488\u4e0a\u62a5\u672c\u673a Collector&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Gateway \u6a21\u5f0f&#xff1a;\u96c6\u4e2d\u5f0f Collector \u96c6\u7fa4&#xff0c;\u63a5\u6536\u5404\u4e2a Agent \u4e0a\u62a5\u7684\u6570\u636e\u3002\u751f\u4ea7\u4e00\u822c Agent&#043;Gateway \u4e24\u5c42\u3002<\/p>\n<\/li>\n<p>\u274c\u4e0d\u8981\u628a SkyWalking OAP \u5f53\u6210 Collector\u3002OAP \u867d\u7136\u80fd\u63a5\u6536 OTLP&#xff0c;\u4f46\u6536\u5230\u4e4b\u540e\u8f6c\u4e3a\u79c1\u6709\u6a21\u578b&#xff0c;\u505a\u805a\u5408\u3001\u5b58\u50a8\u3001\u62d3\u6251&#xff0c;\u5c5e\u4e8eAPM \u540e\u7aef&#xff0c;\u4e0d\u662f\u8f6c\u53d1\u7ba1\u9053\u3002<\/p>\n<h4 id=\"2.1.3.APM%20%E5%90%8E%E7%AB%AF%EF%BC%88%E5%AD%98%E5%82%A8%20%2B%20%E8%AE%A1%E7%AE%97%E5%B1%82%EF%BC%89\">2.1.3.APM \u540e\u7aef&#xff08;\u5b58\u50a8 &#043; \u8ba1\u7b97\u5c42&#xff09;<\/h4>\n<p>\u63a5\u6536 Collector \u8f6c\u53d1\u8fc7\u6765\u7684\u6570\u636e&#xff0c;\u505a\u6301\u4e45\u5316\u3001\u65f6\u5e8f\u805a\u5408\u3001Trace \u7ec4\u88c5\u3001\u89c4\u5219\u8ba1\u7b97\u3001\u544a\u8b66\u5224\u65ad\u3002 Metrics \u540e\u7aef\u548c Trace \u540e\u7aef\u901a\u5e38\u662f\u4e24\u5957\u72ec\u7acb\u7ec4\u4ef6\u3002\u4ece\u524d\u6587\u53ef\u4ee5\u5f97\u77e5Metrics\u5c55\u793a\u7684\u56fe\u6700\u5e38\u7528\u7684\u90fd\u662f\u6309\u65f6\u95f4\u8fdb\u5ea6\u770b\u4eea\u8868\u76d8\u60c5\u51b5&#xff0c;\u800ctrace\u90fd\u662f\u901a\u8fc7\u8fc7\u6ee4\u67e5\u8be2\u6bd4\u8f83\u6162\u7684\u6267\u884c\u8fc7\u7a0b\u539f\u56e0&#xff0c;\u4e00\u8d77\u914d\u5408\u6545\u969c\u5904\u7406\u95ee\u9898\u7684&#xff0c;\u6240\u4ee5trace\u548clog\u572899.9%\u60c5\u51b5\u4e0b\u662f\u6ca1\u6709\u6ca1\u67e5\u770b\u8fc7\u7684&#xff0c;\u800c\u4e14\u5f53\u591a\u7528\u6237&#xff0c;\u591a\u5e94\u7528\u60c5\u51b5\u4e0b&#xff0c;\u67e5\u770btrace\u7684span\u5f88\u8d39\u7b97\u529b\u3002\u6240\u4ee5Metrics \u540e\u7aef\u548c Trace \u540e\u7aef\u901a\u5e38\u662f\u5206\u5f00\u7684\u8ba8\u8bba\u7684&#xff0c;\u800c\u4e14\u4e00\u822c\u4f7f\u7528\u4e0d\u540c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n<h5 id=\"2.1.3.1%20Metrics%20%E6%8C%87%E6%A0%87%E5%90%8E%E7%AB%AF%EF%BC%88%E6%97%B6%E5%BA%8F%E5%AD%98%E5%82%A8%EF%BC%89\">2.1.3.1 Metrics \u6307\u6807\u540e\u7aef&#xff08;\u65f6\u5e8f\u5b58\u50a8&#xff09;<\/h5>\n<p>\u8d1f\u8d23\u4fdd\u5b58\u65f6\u5e8f\u6570\u503c&#xff0c;\u6267\u884c PromQL&#xff0c;\u505a\u9884\u805a\u5408\u3001\u544a\u8b66\u89c4\u5219\u8ba1\u7b97\u3002\u4e0b\u9762\u662f\u51e0\u4e2a\u5e38\u7528\u7684\u4ea7\u54c1<\/p>\n<ul>\n<li>\n<p>Prometheus&#xff1a;Prometheus \u662f CNCF \u6bd5\u4e1a\u9879\u76ee&#xff0c;\u662f\u4e91\u539f\u751f\u9886\u57df\u4e8b\u5b9e\u6807\u51c6\u7684\u6307\u6807\u91c7\u96c6\u4e0e\u5355\u673a\u65f6\u5e8f\u6570\u636e\u5e93&#xff0c;\u4e13\u6ce8 Metrics \u6307\u6807&#xff0c;\u4e0d\u539f\u751f\u5904\u7406 Trace \u94fe\u8def\u6570\u636e\u3002\u6ce8\u610f&#xff1a;Prometheus \u662f\u5355\u673a\u8bbe\u8ba1&#xff0c;\u4e0d\u662f\u5206\u5e03\u5f0f\u96c6\u7fa4\u3002\u6570\u636e\u5b58\u5728\u672c\u5730\u78c1\u76d8&#xff0c;\u6ca1\u6709\u5185\u7f6e\u5206\u7247\u3001\u591a\u526f\u672c\u3001\u591a\u79df\u6237\u3001\u5bf9\u8c61\u5b58\u50a8\u80fd\u529b\u3002\u6570\u636e\u9ed8\u8ba4\u6309\u4fdd\u7559\u65f6\u95f4\u81ea\u52a8\u5220\u9664&#xff0c;\u4e0d\u9002\u5408 PB \u7ea7\u6d77\u91cf\u3001\u591a\u673a\u623f\u3001\u591a\u79df\u6237\u5927\u5382\u573a\u666f\u3002<\/p>\n<\/li>\n<li>\n<p>Mimir&#xff1a;Grafana Mimir \u662f Grafana Labs \u5f00\u6e90\u3001\u57fa\u4e8e Cortex \u6f14\u8fdb\u800c\u6765\u7684\u6c34\u5e73\u53ef\u6269\u5c55\u3001\u9ad8\u53ef\u7528\u3001\u591a\u79df\u6237 Prometheus \u517c\u5bb9\u65f6\u5e8f\u540e\u7aef\u5b58\u50a8Grafana\u3002<\/p>\n<p>\u5b9a\u4f4d&#xff1a;\u53ea\u505a\u6307\u6807\u5b58\u50a8\u4e0e\u67e5\u8be2&#xff0c;\u4e0d\u505a\u6293\u53d6&#xff08;Scrape&#xff09;&#xff0c;\u4e0d\u5904\u7406 Trace \u94fe\u8def\u3002\u5b8c\u5168\u517c\u5bb9 Prometheus \u7684\u6570\u636e\u6a21\u578b\u3001remote_write\u534f\u8bae\u3001PromQL \u67e5\u8be2\u8bed\u6cd5&#xff0c;\u7528\u6765\u89e3\u51b3\u539f\u751f Prometheus \u5355\u673a\u65e0\u6cd5\u6269\u5bb9\u3001\u65e0\u526f\u672c\u3001\u65e0\u591a\u79df\u6237\u3001\u6570\u636e\u4e0d\u80fd\u957f\u671f\u4fdd\u5b58\u7684\u75db\u70b9\u3002 \u8bb8\u53ef\u8bc1&#xff1a;AGPL\u2011v3&#xff0c;\u5185\u90e8\u4e1a\u52a1\u4f7f\u7528\u6ca1\u95ee\u9898&#xff1b;\u5982\u679c\u5bf9\u5916\u6539\u9020\u540e\u4f5c\u4e3a\u4e91\u670d\u52a1\u5bf9\u5916\u63d0\u4f9b&#xff0c;\u5b58\u5728\u5408\u89c4\u7ea6\u675f&#xff0c;\u5f88\u591a\u5927\u5382\u5408\u89c4\u4f1a\u91cd\u70b9\u8bc4\u4f30\u8fd9\u4e00\u70b9\u3002<\/p>\n<\/li>\n<li>\n<p>VictoriaMetrics&#xff1a;VictoriaMetrics&#xff08;\u7b80\u79f0 VM&#xff09;&#xff0c;Go \u8bed\u8a00\u5f00\u53d1&#xff0c;Apache\u20112.0 \u5f00\u6e90\u534f\u8bae&#xff0c;\u6ca1\u6709 AGPL \u534f\u8bae\u7ea6\u675f&#xff0c;\u662f\u4e1a\u754c\u4e3b\u6d41\u7684 Prometheus \u517c\u5bb9\u65f6\u5e8f\u6570\u636e\u5e93&#xff0c;\u5b9a\u4f4d\u4e3a\u9ad8\u6027\u80fd\u3001\u4f4e\u8d44\u6e90\u5f00\u9500\u7684 Metrics \u5b58\u50a8\u540e\u7aef&#xff0c;\u5b8c\u5168\u517c\u5bb9 Prometheus \u6570\u636e\u6a21\u578b\u4e0e PromQL \u8bed\u6cd5&#xff0c;\u89e3\u51b3\u539f\u751f Prometheus \u5355\u673a\u5bb9\u91cf\u3001\u4fdd\u5b58\u5468\u671f\u7684\u75db\u70b9\u3002<\/p>\n<p>\u8865\u5145\u751f\u6001&#xff1a;\u914d\u5957 VictoriaTraces \u4e13\u95e8\u7528\u4e8e\u5b58\u50a8 Trace \u94fe\u8def\u6570\u636e&#xff1b;VictoriaLogs \u7528\u4e8e\u65e5\u5fd7\u5b58\u50a8&#xff0c;\u6574\u5957\u6808\u53ef\u4ee5\u4e00\u5957\u751f\u6001\u8986\u76d6 Metrics\u2011Trace\u2011Logs \u4e09\u5927\u53ef\u89c2\u6d4b\u4fe1\u53f7&#xff0c;\u5bf9\u6807 Grafana LGTM \u6808&#xff08;Mimir&#043;Tempo&#043;Loki&#xff09;VictoriaMe&#8230;\u3002<\/p>\n<\/li>\n<li>\n<p>ClickHouse&#xff1a;OLAP \u6570\u636e\u5e93&#xff1b;\u65e9\u671f\u7684\u5404\u79cd\u4ea7\u54c1\u6bd4\u5982One-Apm\u5c31\u662f\u7528\u8fd9\u4e2a\u6570\u636e\u5e93\u6765\u5b58\u50a8\u6570\u636e\u3002\u597d\u5904\u5c31\u662f\u53ef\u4ee5\u81ea\u52a8\u5f52\u5e76\u6570\u636e\u3002\u7f3a\u70b9\u662f\u4e0d\u9002\u5408\u9ad8\u5e76\u53d1\u7684\u67e5\u8be2&#xff1b;\u7528\u8fd9\u4e2a\u6570\u636e\u5e93\u9700\u8981\u505a\u7684\u5f00\u53d1\u8fd8\u633a\u591a\u7684&#xff1b;<\/p>\n<\/li>\n<\/ul>\n<p>\u80fd\u529b&#xff1a;\u4fdd\u5b58 Counter\/Gauge\/Histogram&#xff1b;\u652f\u6301 PromQL\/SQL \u67e5\u8be2&#xff1b;\u5185\u7f6e\u544a\u8b66\u89c4\u5219\u6267\u884c\u3002<\/p>\n<\/p>\n<p>VictoriaMetrics vs Mimir \u5bf9\u6bd4\u8868<\/p>\n<table>\n<tr>\u9879\u76eeVictoriaMetricsGrafana Mimir<\/tr>\n<tbody>\n<tr>\n<td>\u5f00\u6e90\u534f\u8bae<\/td>\n<td>Apache\u20112.0&#xff0c;\u5bf9\u5916 SaaS \u65e0\u7ea6\u675f<\/td>\n<td>AGPL\u2011v3&#xff0c;\u5bf9\u5916 SaaS \u5b58\u5728\u5408\u89c4\u98ce\u9669<\/td>\n<\/tr>\n<tr>\n<td>\u90e8\u7f72\u5f62\u6001<\/td>\n<td>\u5355\u8282\u70b9&#xff08;\u7b80\u5355&#xff09;\/ \u96c6\u7fa4\u4e09\u7ec4\u4ef6<\/td>\n<td>\u5fae\u670d\u52a1\u4f17\u591a&#xff1a;Distributor\/Ingester\/Compactor \u7b49<\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8\u4ecb\u8d28<\/td>\n<td>\u4e3b\u8981\u672c\u5730\u78c1\u76d8 \/ PVC&#xff1b;\u96c6\u7fa4\u53ef\u9009\u5bf9\u8c61\u5b58\u50a8<\/td>\n<td>\u5f3a\u4f9d\u8d56 S3 \u517c\u5bb9\u5bf9\u8c61\u5b58\u50a8<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u79df\u6237<\/td>\n<td>\u4ec5\u96c6\u7fa4\u7248\u5f00\u6e90\u652f\u6301<\/td>\n<td>\u539f\u751f\u591a\u79df\u6237&#xff0c;\u80fd\u529b\u5b8c\u5584&#xff0c;\u79df\u6237\u9650\u6d41\u3001\u914d\u989d\u9f50\u5168<\/td>\n<\/tr>\n<tr>\n<td>\u8d44\u6e90\u6d88\u8017<\/td>\n<td>\u4f4e&#xff0c;\u540c\u7b49\u8d1f\u8f7d\u786c\u4ef6\u8981\u6c42\u66f4\u5c0f<\/td>\n<td>\u8d44\u6e90\u5f00\u9500\u66f4\u9ad8<\/td>\n<\/tr>\n<tr>\n<td>Trace \u914d\u5957<\/td>\n<td>VictoriaTraces&#xff08;\u672c\u5730\u78c1\u76d8\u4f18\u5148&#xff09;<\/td>\n<td>\u642d\u914d Tempo&#xff08;\u5bf9\u8c61\u5b58\u50a8&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u9002\u7528\u89c4\u6a21<\/td>\n<td>\u4e2d\u5c0f\u89c4\u6a21\u3001\u4e2d\u7b49\u89c4\u6a21&#xff1b;\u4ecb\u610f\u534f\u8bae\u98ce\u9669\u573a\u666f<\/td>\n<td>\u5927\u5382\u5e73\u53f0\u3001\u591a\u79df\u6237\u76d1\u63a7\u5373\u670d\u52a1\u3001\u6d77\u91cf\u65f6\u5e8f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5 id=\"2.1.3.2%20Trace%20%E9%93%BE%E8%B7%AF%E5%90%8E%E7%AB%AF\">2.1.3.2 Trace \u94fe\u8def\u540e\u7aef<\/h5>\n<p>\u4fdd\u5b58 Span\/Trace \u6570\u636e&#xff0c;\u6309 TraceID \u8bfb\u53d6\u5b8c\u6574\u8c03\u7528\u6811\u3002<\/p>\n<ul>\n<li>\n<p>Tempo&#xff1a;Grafana Tempo \u662f Grafana Labs \u5f00\u6e90\u5206\u5e03\u5f0f\u94fe\u8def\u8ffd\u8e2a\u540e\u7aef&#xff0c;\u5c5e\u4e8e LGTM \u6808\u7684 Trace \u7ec4\u4ef6&#xff0c;\u53ea\u5b58\u50a8 Trace&#xff0c;\u4e0d\u5904\u7406 MetricsGrafana\u3002\u63a5\u6536 OTLP\u3001Jaeger\u3001Zipkin \u534f\u8bae&#xff0c;\u4e00\u822c\u7531 OTel\u2011Collector \u4e0a\u62a5 Span \u6570\u636e&#xff0c;\u6570\u636e\u4ee5 Parquet \u5217\u5b58\u683c\u5f0f\u6301\u4e45\u5316\u5230 S3 \u517c\u5bb9\u5bf9\u8c61\u5b58\u50a8&#xff0c;\u65e0\u9700 ES\/Cassandra \u7b49\u91cd\u6570\u636e\u5e93&#xff0c;\u5b58\u50a8\u6210\u672c\u4f4eGrafana\u3002<\/p>\n<p>\u652f\u6301\u6309TraceID\u7cbe\u51c6\u67e5\u8be2&#xff0c;\u5185\u7f6e TraceQL \u53ef\u6309\u6807\u7b7e\u68c0\u7d22\u94fe\u8def&#xff0c;Grafana \u4f5c\u4e3a UI \u6e32\u67d3\u7011\u5e03\u56fe&#xff1b;\u53ef\u81ea\u52a8\u751f\u6210 RED \u6307\u6807&#xff0c;\u548c Mimir \u6307\u6807\u3001Loki \u65e5\u5fd7\u4e92\u76f8\u5173\u8054\u8df3\u8f6cGrafana\u3002\u652f\u6301\u5355\u4f53 \/ \u5fae\u670d\u52a1\u90e8\u7f72&#xff0c;\u539f\u751f\u591a\u79df\u6237\u3002\u77ed\u677f&#xff1a;\u5c5e\u6027\u5168\u68c0\u7d22\u6027\u80fd\u5f31\u4e8e ES&#xff1b;\u5f3a\u4f9d\u8d56\u5bf9\u8c61\u5b58\u50a8&#xff1b;\u4e0d\u81ea\u5e26\u670d\u52a1\u62d3\u6251&#xff0c;\u62d3\u6251\u9700\u8981\u4f9d\u9760 metrics\u2011generator \u751f\u6210\u3002\u5e38\u642d\u914d OTel\u2011Collector&#xff0c;\u4e0e Mimir \u7ec4\u6210\u62c6\u5206\u5f0f\u53ef\u89c2\u6d4b\u540e\u7aef\u3002<\/p>\n<\/li>\n<li>\n<p>Jaeger&#xff1a;CNCF \u5f00\u6e90\u5206\u5e03\u5f0f\u94fe\u8def\u8ffd\u8e2a\u7cfb\u7edf&#xff0c;Uber \u5f00\u6e90\u6350\u8d60&#xff0c;\u63a5\u6536 OTLP\u3001Jaeger\u2011Thrift\u3001Zipkin \u534f\u8bae&#xff0c;\u7531 Collector \u63a5\u6536 Span \u5b58\u5165\u5916\u7f6e\u5b58\u50a8&#xff08;ES\/OpenSearch\u3001Cassandra&#xff09;&#xff0c;Query \u670d\u52a1\u63d0\u4f9b API \u4e0e\u5185\u7f6e UI \u6e32\u67d3\u7011\u5e03\u56fe\u3001\u4f9d\u8d56\u62d3\u6251\u56feGitHub\u3002\u652f\u6301\u591a\u79cd\u91c7\u6837\u7b56\u7565&#xff0c;\u64c5\u957f\u6309\u6807\u7b7e\u3001\u9519\u8bef\u3001\u8017\u65f6\u505a\u94fe\u8def\u5168\u6587\u68c0\u7d22\u3002\u73b0\u4ee3\u90e8\u7f72\u4e00\u822c\u7528 OTel\u2011Collector \u66ff\u4ee3\u539f\u751f Jaeger\u2011Agent \u505a\u91c7\u96c6\u8f6c\u53d1\u3002\u65e0\u5185\u7f6e Metrics \u4e0e\u544a\u8b66&#xff0c;\u9700\u5bf9\u63a5\u5916\u90e8\u76d1\u63a7\u3002\u7f3a\u70b9&#xff1a;\u5f3a\u4f9d\u8d56\u91cd\u578b\u6570\u636e\u5e93&#xff0c;\u8d44\u6e90\u5f00\u9500\u9ad8&#xff0c;\u65e0\u539f\u751f\u591a\u79df\u6237&#xff1b;\u65b0\u9879\u76ee\u5e38\u88ab Tempo \u66ff\u4ee3&#xff0c;\u4f46 Jaeger\u2011UI \u4ecd\u53ef\u4f5c\u4e3a Tempo \u7684\u524d\u7aef\u67e5\u770b\u94fe\u8def\u3002<\/p>\n<p>\u6570\u636e\u6d41&#xff1a;OTel\u2011Collector \u2192 Jaeger\u2011Collector \u2192 ES\/Cassandra \u2192 Jaeger\u2011UI\u3002<\/p>\n<\/li>\n<li>\n<p>SkyWalking OAP Server&#xff1a;\u4e00\u4f53\u5316\u540e\u7aef&#xff1b;\u5b58\u50a8\u53ef\u9009\u7528 ES \/ BanyanDB \/ ClickHouse&#xff1b;\u505a Trace \u5b58\u50a8 &#043; \u6307\u6807\u805a\u5408 &#043; \u670d\u52a1\u62d3\u6251 &#043; \u544a\u8b66<\/p>\n<\/li>\n<li>\n<p>Elasticsearch&#xff1a;\u65e9\u671f APM \u7528\u6765\u5b58 Trace&#xff0c;\u64c5\u957f\u5168\u6587\u68c0\u7d22&#xff0c;\u4f46\u8d44\u6e90\u5f00\u9500\u5927\u3002\u800c\u4e14ES\u7528\u8fc7\u7684\u90fd\u77e5\u9053&#xff0c;\u5404\u4e2a\u7248\u672c\u4e4b\u95f4\u4e0d\u517c\u5bb9&#xff0c;\u8fd9\u4e2a\u592a\u9ebb\u70e6\u4e86\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u533a\u5206&#xff1a;<\/p>\n<ul>\n<li>\n<p>SkyWalking OAP \u662f\u5b8c\u6574\u4e00\u4f53\u5316 APM \u540e\u7aef&#xff1a;Trace \u5b58\u50a8\u3001\u6307\u6807\u805a\u5408\u3001\u670d\u52a1\u62d3\u6251\u3001\u544a\u8b66\u5168\u90e8\u5728 OAP \u5185\u90e8\u5b8c\u6210\u3002<\/p>\n<\/li>\n<li>\n<p>Mimir \u53ea\u5904\u7406 Metrics&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Tempo \u53ea\u5904\u7406 Trace&#xff0c;\u4e8c\u8005\u662f\u62c6\u5206\u5f0f\u540e\u7aef\u3002<\/p>\n<\/li>\n<\/ul>\n<h5 id=\"2.1.3.4.%20%E5%B1%95%E7%A4%BA%E5%99%A8%EF%BC%88UI%20%E5%8F%AF%E8%A7%86%E5%8C%96%E5%B1%82%EF%BC%89\">2.1.3.4. \u5c55\u793a\u5668&#xff08;UI \u53ef\u89c6\u5316\u5c42&#xff09;<\/h5>\n<p>\u53ea\u8d1f\u8d23\u6e32\u67d3\u56fe\u8868&#xff0c;\u672c\u8eab\u4e0d\u5b58 Metrics\u3001Trace \u539f\u59cb\u6570\u636e&#xff0c;\u67e5\u8be2\u65f6\u53bb\u62c9 APM \u540e\u7aef\u7684\u6570\u636e\u3002<\/p>\n<li>\n<p>Grafana \u901a\u7528\u53ef\u89c6\u5316\u5c55\u793a\u5668\u3002<\/p>\n<\/li>\n<ul>\n<li>\n<p>\u5bf9\u63a5 Mimir\/VictoriaMetrics \u62ff Metrics&#xff1b;\u5bf9\u63a5 Tempo \u62ff Trace&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8f93\u51fa\u5927\u76d8\u3001\u7ebf\u56fe\u3001\u76f4\u65b9\u56fe\u3001Trace \u7011\u5e03\u56fe&#xff1b;\u914d\u7f6e\u544a\u8b66&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u81ea\u8eab\u914d\u7f6e&#xff08;\u4eea\u8868\u76d8\u3001\u8d26\u53f7&#xff09;\u5b58\u5728 PostgreSQL\/MySQL&#xff1b;\u65f6\u5e8f\u6570\u636e\u4e0d\u5728 Grafana\u3002<\/p>\n<\/li>\n<\/ul>\n<li>\n<p>SkyWalking UI \u548c OAP \u914d\u5957\u4e00\u4f53\u5316 UI&#xff1b;\u670d\u52a1\u62d3\u6251\u56fe\u3001Trace \u7011\u5e03\u56fe\u3001\u670d\u52a1\u6307\u6807\u5927\u76d8\u5168\u90e8\u5185\u7f6e&#xff1b;\u4e0d\u9700\u8981 Grafana\u3002<\/p>\n<\/li>\n<li>\n<p>Jaeger\u2011UI \u4e13\u95e8\u7684 Trace \u5c55\u793a\u5668&#xff1b;\u53ea\u505a\u94fe\u8def\u67e5\u8be2&#xff0c;\u4e0d\u505a\u6307\u6807\u5927\u76d8&#xff1b;\u53ef\u4ee5\u5bf9\u63a5 Tempo\u3001ES\u3002<\/p>\n<\/li>\n<hr \/>\n<p>\u8fd9\u91cc\u7ed9\u51fa\u4e24\u5957\u5178\u578b\u5b8c\u6574\u5f00\u6e90 APM \u6808\u5bf9\u7167&#xff0c;\u63a2\u9488\u7528OTel\u4e0d\u7528\u72b9\u8c6b\u4e86&#xff0c;\u6838\u5fc3\u5c31\u662f\u7528\u8c01\u505a\u540e\u7aef\u548c\u5c55\u793a&#xff1a;<\/p>\n<p>\u65b9\u6848 A&#xff1a;LGTM&#xff08;OTel\u2011Collector &#043; Mimir &#043; Tempo &#043; Grafana&#xff09;\u62c6\u5206\u5f0f\u67b6\u6784<\/p>\n<p>\u4e1a\u52a1&#xff1a;Go\/C&#043;&#043; OTel\u2011SDK \/ Java OTel\u2011Agent \u3010\u63a2\u9488\u3011<br \/>\n \u00a0 \u00a0 \u00a0  \u2193OTLP<br \/>\nOpenTelemetry\u2011Collector \u3010\u91c7\u96c6\u7f51\u5173\u3011<br \/>\n \u00a0  \u251c\u2011metrics \u2192 Mimir \u3010Metrics\u540e\u7aef\u3011<br \/>\n \u00a0  \u2514\u2011traces \u2192 Tempo \u3010Trace\u540e\u7aef\u3011<br \/>\nGrafana \u3010\u5c55\u793a\u5668\u3011\u67e5\u8be2Mimir\u548cTempo&#xff0c;\u753b\u5927\u76d8\u3001\u770bTrace\u7011\u5e03\u56fe <\/p>\n<p>\u7279\u70b9&#xff1a;\u5404\u5c42\u7ec4\u4ef6\u89e3\u8026&#xff0c;\u53ef\u4ee5\u5355\u72ec\u66ff\u6362\u67d0\u4e00\u5c42&#xff1b;\u6ca1\u6709\u4e00\u4f53\u5316\u7684\u670d\u52a1\u62d3\u6251&#xff1b;Tempo \u5168\u6587\u68c0\u7d22\u5f31\u3002<\/p>\n<p>\u65b9\u6848 B&#xff1a;SkyWalking \u4e00\u4f53\u5316 APM \u67b6\u6784<\/p>\n<p>\u4e1a\u52a1&#xff1a;SkyWalking\u2011Agent(Java\u65e0\u4fb5\u5165) \/ OTel\u2011SDK(Go\/C&#043;&#043;) \u3010\u63a2\u9488\u3011<br \/>\n \u00a0 \u00a0 \u00a0  \u2193\u79c1\u6709\u534f\u8bae \/ OTLP<br \/>\nOpenTelemetry\u2011Collector&#xff08;\u53ef\u9009&#xff0c;\u505a\u8f6c\u53d1\u5904\u7406&#xff09;<br \/>\n \u00a0 \u00a0 \u00a0  \u2193OTLP<br \/>\nSkyWalking OAP Server \u3010\u4e00\u4f53\u5316APM\u540e\u7aef&#xff1a;\u63a5\u6536\u3001\u805a\u5408\u3001\u62d3\u6251\u8ba1\u7b97\u3001\u5b58\u50a8\u3011<br \/>\n \u00a0 \u00a0 \u00a0  \u2193\u5b58\u50a8&#xff1a;ES\/BanyanDB\/ClickHouse<br \/>\nSkyWalking UI \u3010\u5c55\u793a\u5668\u3011 <\/p>\n<p>\u7279\u70b9&#xff1a;\u540e\u7aef\u4e00\u4f53\u5316&#xff0c;\u81ea\u5e26\u670d\u52a1\u62d3\u6251\u3001\u544a\u8b66&#xff1b;Java \u65e0\u4fb5\u5165 Agent \u4f53\u9a8c\u597d&#xff1b;\u5185\u90e8\u8f6c\u4e3a\u79c1\u6709\u6a21\u578b&#xff0c;\u751f\u6001\u7ed1\u5b9a\u3002<\/p>\n<h4 id=\"2.1.4%20%E6%A6%82%E5%BF%B5%E9%80%9F%E6%9F%A5%E8%A1%A8\">2.1.4 \u6982\u5ff5\u901f\u67e5\u8868<\/h4>\n<table>\n<tr>\u540d\u8bcd\u89d2\u8272\u5178\u578b\u5f00\u6e90\u7ec4\u4ef6\u662f\u5426\u5b58\u539f\u59cb\u89c2\u6d4b\u6570\u636e<\/tr>\n<tbody>\n<tr>\n<td>\u63a2\u9488 Agent\/SDK<\/td>\n<td>\u4e1a\u52a1\u8fdb\u7a0b\u5185\u91c7\u96c6\u57cb\u70b9<\/td>\n<td>OTel SDK\u3001SkyWalking Agent<\/td>\n<td>\u274c\u53ea\u751f\u6210&#xff0c;\u4e0d\u5b58\u50a8<\/td>\n<\/tr>\n<tr>\n<td>Collector<\/td>\n<td>\u91c7\u96c6\u7f51\u5173&#xff0c;\u7ba1\u9053\u8f6c\u53d1<\/td>\n<td>OpenTelemetry\u2011Collector\u3001Grafana Alloy<\/td>\n<td>\u274c\u4e34\u65f6\u961f\u5217&#xff0c;\u4e0d\u5b58\u5386\u53f2<\/td>\n<\/tr>\n<tr>\n<td>APM \u540e\u7aef&#xff08;Metrics&#xff09;<\/td>\n<td>\u6307\u6807\u5b58\u50a8\u3001PromQL \u8ba1\u7b97<\/td>\n<td>Prometheus\u3001Mimir\u3001VictoriaMetrics<\/td>\n<td>\u2705\u6301\u4e45\u5316\u6307\u6807<\/td>\n<\/tr>\n<tr>\n<td>APM \u540e\u7aef&#xff08;Trace&#xff09;<\/td>\n<td>\u94fe\u8def\u5b58\u50a8\u3001Trace \u7ec4\u88c5<\/td>\n<td>Tempo\u3001SkyWalking OAP\u3001Jaeger&#043;ES<\/td>\n<td>\u2705\u6301\u4e45\u5316 Span\/Trace<\/td>\n<\/tr>\n<tr>\n<td>\u5c55\u793a\u5668 UI<\/td>\n<td>\u53ef\u89c6\u5316\u67e5\u8be2\u6e32\u67d3<\/td>\n<td>Grafana\u3001SkyWalking\u2011UI\u3001Jaeger\u2011UI<\/td>\n<td>\u274c\u53ea\u5b58\u4eea\u8868\u76d8\u914d\u7f6e&#xff0c;\u4e0d\u5b58\u65f6\u5e8f \/ \u94fe\u8def\u539f\u59cb\u6570\u636e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"2.1.5%20%E5%B8%B8%E8%A7%81%E8%AF%AF%E5%8C%BA%E6%BE%84%E6%B8%85\">2.1.5 \u5e38\u89c1\u8bef\u533a\u6f84\u6e05<\/h4>\n<li>\n<p>\u274cGrafana \u662f\u5b58\u50a8&#xff1a;\u9519&#xff0c;Grafana \u53ea\u662f UI&#xff0c;\u6570\u636e\u5168\u90e8\u5728 Mimir\/Tempo\u3002<\/p>\n<\/li>\n<li>\n<p>\u274cCollector \u5c31\u662f APM \u540e\u7aef&#xff1a;\u9519&#xff0c;Collector \u53ea\u662f\u7ba1\u9053&#xff0c;\u4e0d\u505a\u805a\u5408\u548c\u6301\u4e45\u5316\u3002<\/p>\n<\/li>\n<li>\n<p>\u274cSkyWalking Agent &#061; SkyWalking \u5b8c\u6574 APM&#xff1a;\u9519&#xff0c;Agent \u53ea\u662f\u63a2\u9488&#xff0c;\u5fc5\u987b\u642d\u914d OAP \u540e\u7aef\u3002<\/p>\n<\/li>\n<li>\n<p>\u274cMimir\/Tempo \u81ea\u5e26 UI&#xff1a;\u9519&#xff0c;Mimir\/Tempo \u53ea\u8d1f\u8d23\u5b58\u50a8\u8ba1\u7b97&#xff0c;\u53ef\u89c6\u5316\u4ea4\u7ed9 Grafana\u3002<\/p>\n<\/li>\n<p>\u5728\u73b0\u4ee3APM\u4f53\u7cfb\u4e2d&#xff0c;Collector\u662f\u6574\u4e2a\u53ef\u89c2\u6d4b\u94fe\u8def\u7684\u6838\u5fc3\u4e2d\u8f6c\u7ad9&#xff0c;\u662f\u6253\u901a\u591a\u8bed\u8a00\u91c7\u96c6\u3001\u591a\u534f\u8bae\u8f6c\u6362\u3001\u6570\u636e\u8fc7\u6ee4\u3001\u524a\u5cf0\u7f13\u51b2\u3001\u591a\u540e\u7aef\u8f6c\u53d1\u7684\u6838\u5fc3\u7ec4\u4ef6&#xff0c;\u4e5f\u662f\u6240\u6709\u5927\u5382\u6807\u51c6\u5316\u89c2\u6d4b\u67b6\u6784\u7684\u7edf\u4e00\u5165\u53e3\u3002<\/p>\n<h4 id=\"2.2%20Collector%E6%A0%B8%E5%BF%83%E8%83%BD%E5%8A%9B%EF%BC%88%E6%A0%B8%E5%BF%83%E4%BA%94%E5%A4%A7%E5%8A%9F%E8%83%BD%EF%BC%89\">2.2 Collector\u6838\u5fc3\u80fd\u529b&#xff08;\u6838\u5fc3\u4e94\u5927\u529f\u80fd&#xff09;<\/h4>\n<p>\u5f88\u591a\u5f00\u53d1\u8005\u4f1a\u6df7\u6dc6Collector\u4e0eAPM\u540e\u7aef\u670d\u52a1&#xff0c;\u6838\u5fc3\u533a\u522b&#xff1a;Collector\u53ea\u505a\u6570\u636e\u5904\u7406\u8f6c\u53d1&#xff0c;\u4e0d\u6301\u4e45\u5316\u5b58\u50a8\u3001\u4e0d\u505a\u805a\u5408\u5206\u6790\u3001\u4e0d\u751f\u6210\u62d3\u6251&#xff0c;\u7eaf\u7ba1\u9053\u578b\u7ec4\u4ef6\u3002<\/p>\n<li>\n<p>\u534f\u8bae\u8f6c\u6362&#xff1a;\u7edf\u4e00\u63a5\u6536OTLP\u3001Prometheus\u3001Jaeger\u3001Zipkin\u7b49\u591a\u534f\u8bae\u6570\u636e&#xff0c;\u7edf\u4e00\u6807\u51c6\u5316\u5904\u7406\u540e&#xff0c;\u8f6c\u53d1\u81f3\u4efb\u610f\u540e\u7aef\u5b58\u50a8&#xff0c;\u5f7b\u5e95\u89e3\u8026\u4e1a\u52a1\u4e0e\u5b58\u50a8&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6279\u5904\u7406\u538b\u7f29&#xff1a;\u5408\u5e76\u4e1a\u52a1\u4ea7\u751f\u7684\u6d77\u91cf\u5c0f\u5305\u6570\u636e&#xff0c;\u538b\u7f29\u540e\u7edf\u4e00\u4f20\u8f93&#xff0c;\u5927\u5e45\u964d\u4f4e\u516c\u7f51\u3001\u5185\u7f51\u7f51\u7edcIO\u5f00\u9500&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u6cbb\u7406&#xff1a;\u8fc7\u6ee4\u65e0\u6548\u5065\u5eb7\u68c0\u67e5Span\u3001\u4fee\u526a\u9ad8\u57fa\u6570\u6807\u7b7e\u3001\u8131\u654f\u654f\u611f\u6570\u636e&#xff0c;\u907f\u514d\u65f6\u5e8f\u7206\u70b8\u3001\u5b58\u50a8\u8d44\u6e90\u6d6a\u8d39&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u524a\u5cf0\u7f13\u51b2&#xff1a;\u5185\u7f6e\u5185\u5b58\u961f\u5217\u4e0e\u78c1\u76d8\u6301\u4e45\u961f\u5217&#xff0c;\u540e\u7aef\u5b58\u50a8\u6296\u52a8\u3001\u7f51\u7edc\u4e2d\u65ad\u65f6\u4e34\u65f6\u7f13\u5b58\u6570\u636e&#xff0c;\u907f\u514d\u53cd\u538b\u4e1a\u52a1\u670d\u52a1&#xff0c;\u4fdd\u969c\u4e1a\u52a1\u7a33\u5b9a\u6027&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u6247\u51fa\u4e0e\u884d\u751f&#xff1a;\u652f\u6301\u4e00\u4efd\u6570\u636e\u591a\u540e\u7aef\u8f6c\u53d1&#xff0c;\u540c\u65f6\u652f\u6301\u901a\u8fc7SpanMetrics\u8fde\u63a5\u5668&#xff0c;\u4eceTrace\u94fe\u8def\u81ea\u52a8\u63d0\u53d6\u5ef6\u8fdf\u3001QPS\u6307\u6807&#xff0c;\u65e0\u9700\u4e1a\u52a1\u624b\u52a8\u57cb\u70b9Metrics\u3002<\/p>\n<\/li>\n<p>\u6807\u51c6\u5168\u94fe\u8def\u91c7\u96c6\u6d41\u7a0b\u56fe<\/p>\n<p># \u591a\u8bed\u8a00\u4e1a\u52a1SDK\u5c42&#xff08;C&#043;&#043;\/Java\/Go&#xff09;<br \/>\n\u4e1a\u52a1\u670d\u52a1\u57cb\u70b9 \u2192 \u8f93\u51fa\u6807\u51c6OTLP\u534f\u8bae\u6570\u636e<br \/>\n\u200b<br \/>\n# \u7edf\u4e00\u91c7\u96c6\u7ba1\u9053\u5c42<br \/>\nOpenTelemetry Collector&#xff0c;\u5185\u7f6e\u5982\u4e0b\u529f\u80fd<br \/>\n\u251c\u2500 Receiver&#xff1a;\u63a5\u6536OTLP\u4e1a\u52a1\u6570\u636e\u3001\u6293\u53d6\u4e2d\u95f4\u4ef6\/\u673a\u5668Metrics<br \/>\n\u251c\u2500 Processor&#xff1a;\u6279\u5904\u7406\u3001\u8fc7\u6ee4\u3001\u6807\u7b7e\u4fee\u526a\u3001\u961f\u5217\u7f13\u51b2<br \/>\n\u251c\u2500 Connector&#xff1a;SpanMetrics&#xff08;\u94fe\u8def\u8f6c\u6307\u6807&#xff09;<br \/>\n\u2514\u2500 Exporter&#xff1a;\u591a\u540e\u7aef\u5206\u53d1<br \/>\n \u00a0 \u251c\u2500 Metrics\u6570\u636e \u2192 Mimir\/VictoriaMetrics<br \/>\n \u00a0 \u2514\u2500 Trace\u6570\u636e \u2192 Tempo<br \/>\n\u200b<br \/>\n# \u53ef\u89c6\u5316\u4e0e\u544a\u8b66\u5c42<br \/>\nGrafana&#xff08;\u7edf\u4e00UI\u5927\u76d8\u3001\u94fe\u8def\u67e5\u8be2&#xff09;&#043; \u544a\u8b66\u5f15\u64ce <\/p>\n<h4 id=\"2.3%20%E4%B8%89%E5%A4%A7%E4%B8%BB%E6%B5%81%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80%E9%87%87%E9%9B%86%E6%96%B9%E6%A1%88%E9%80%82%E9%85%8D%E5%AF%B9%E6%AF%94\">2.3 \u4e09\u5927\u4e3b\u6d41\u5f00\u53d1\u8bed\u8a00\u91c7\u96c6\u65b9\u6848\u9002\u914d\u5bf9\u6bd4<\/h4>\n<p>\u4e0d\u540c\u8bed\u8a00\u7684\u865a\u62df\u673a\u3001\u7f16\u8bd1\u7279\u6027\u4e0d\u540c&#xff0c;APM\u91c7\u96c6\u65b9\u6848\u5dee\u5f02\u6781\u5927&#xff0c;\u4e5f\u662f\u4f01\u4e1a\u9009\u578b\u7684\u6838\u5fc3\u4f9d\u636e&#xff1a;<\/p>\n<h5 id=\"2.3.1%20Java%E8%AF%AD%E8%A8%80\">2.3.1 Java\u8bed\u8a00<\/h5>\n<p>Java\u62e5\u6709\u65e0\u4fb5\u5165Agent\u7edd\u5bf9\u4f18\u52bf&#xff0c;\u662f\u56fd\u5185\u5fae\u670d\u52a1\u4e3b\u6d41\u9009\u578b&#xff1a;<\/p>\n<ul>\n<li>\n<p>SkyWalking Java Agent&#xff1a;\u884c\u4e1a\u6700\u4f18\u89e3&#xff0c;\u65e0\u9700\u6539\u4e1a\u52a1\u4ee3\u7801&#xff0c;\u901a\u8fc7-javaagent\u542f\u52a8\u53c2\u6570\u5373\u53ef\u81ea\u52a8\u91c7\u96c6SpringCloud\u3001Dubbo\u3001Redis\u3001MySQL\u7b49\u6240\u6709\u4e2d\u95f4\u4ef6\u8c03\u7528\u94fe\u8def&#xff0c;\u81ea\u52a8\u751f\u6210\u670d\u52a1\u62d3\u6251\u3001\u805a\u5408\u6307\u6807&#xff0c;\u9002\u914d\u56fd\u5185\u6240\u6709Java\u751f\u6001\u7ec4\u4ef6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>OpenTelemetry Java Agent&#xff1a;\u6807\u51c6\u4e2d\u7acb&#xff0c;\u8f93\u51faOTLP\u534f\u8bae&#xff0c;\u540e\u7aef\u53ef\u4efb\u610f\u5207\u6362&#xff0c;\u4f46\u5bf9\u56fd\u4ea7\u4e2d\u95f4\u4ef6\u9002\u914d\u5f31\u4e8eSkyWalking&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u56fd\u5185Java\u5fae\u670d\u52a1\u96c6\u7fa4\u4f18\u5148SkyWalking Agent&#xff0c;\u591a\u8bed\u8a00\u7edf\u4e00\u6807\u51c6\u5316\u573a\u666f\u4f18\u5148OTel Agent\u3002<\/p>\n<\/li>\n<\/ul>\n<h5 id=\"2.3.2%20Go%E8%AF%AD%E8%A8%80\">2.3.2 Go\u8bed\u8a00<\/h5>\n<p>Go\u4e3a\u7f16\u8bd1\u578b\u9759\u6001\u8bed\u8a00&#xff0c;\u65e0\u865a\u62df\u673a\u3001\u4e0d\u652f\u6301\u8fd0\u884c\u65f6\u65e0\u4fb5\u5165\u57cb\u70b9&#xff0c;\u6240\u6709\u91c7\u96c6\u65b9\u6848\u5747\u4f9d\u8d56\u7f16\u8bd1\u671f\u5904\u7406\u6216\u4ee3\u7801\u57cb\u70b9&#xff1a;<\/p>\n<ul>\n<li>\n<p>OpenTelemetry-Go SDK&#xff1a;CNCF\u6807\u51c6&#xff0c;\u751f\u6001\u5b8c\u5584\u3001\u7ec4\u4ef6\u9f50\u5168&#xff0c;\u57fa\u4e8eContext\u4e0a\u4e0b\u6587\u4f20\u9012\u94fe\u8def&#xff0c;\u5b8c\u5168\u89e3\u8026\u540e\u7aef\u5b58\u50a8&#xff0c;\u662fGo\u9879\u76ee\u6700\u4f18\u6807\u51c6\u65b9\u6848&#xff1b;<\/p>\n<\/li>\n<li>\n<p>SkyWalking-Go&#xff1a;\u7f16\u8bd1\u671fAST\u63d2\u6869&#xff0c;\u5c11\u4ee3\u7801\u4fb5\u5165&#xff0c;\u4f46\u8f93\u51fa\u79c1\u6709\u534f\u8bae&#xff0c;\u751f\u6001\u5c01\u95ed&#xff0c;\u540e\u7aef\u7ed1\u5b9aSkyWalking OAP&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9002\u7528\u573a\u666f&#xff1a;\u6240\u6709Go\u4e91\u539f\u751f\u3001RAG\u3001\u5fae\u670d\u52a1\u9879\u76ee&#xff0c;\u4f18\u5148OTel-Go SDK\u3002<\/p>\n<\/li>\n<\/ul>\n<h5 id=\"2.3.3%20C%2B%2B%E8%AF%AD%E8%A8%80\">2.3.3 C&#043;&#043;\u8bed\u8a00<\/h5>\n<p>C&#043;&#043;\u4e00\u822c\u90fd\u662f\u4f7f\u7528SDK\u81ea\u5df1\u8bbe\u8ba1\u8bb0\u5f55\u7684\u5185\u5bb9&#xff0c;\u751f\u6001\u6700\u8584\u5f31&#xff1a;<\/p>\n<ul>\n<li>\n<p>OpenTelemetry-C&#043;&#043; SDK&#xff1a;\u552f\u4e00\u7a33\u5b9a\u6807\u51c6\u65b9\u6848&#xff0c;\u5546\u7528\u6210\u719f\u3001\u534f\u8bae\u901a\u7528&#xff0c;\u652f\u6301\u5168\u91cf\u9065\u6d4b\u6570\u636e\u91c7\u96c6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>SkyWalking C&#043;&#043; SDK&#xff08;cpp2sky&#xff09;&#xff1a;\u793e\u533a\u7ef4\u62a4&#xff0c;\u5b98\u65b9\u652f\u6301\u5f31\u3001\u6587\u6863\u5c11\u3001\u751f\u4ea7\u6848\u4f8b\u7a00\u7f3a&#xff0c;\u4e0d\u63a8\u8350\u5546\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9002\u7528\u573a\u666f&#xff1a;C&#043;&#043;\u670d\u52a1\u7edf\u4e00\u4f7f\u7528OTel-C&#043;&#043; SDK\u3002<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"%E4%B8%89%E3%80%81APM%E8%A1%8C%E4%B8%9A%E5%8E%82%E5%95%86%E6%BC%94%E8%BF%9B%EF%BC%9A%E9%97%AD%E6%BA%90%E4%BC%A0%E7%BB%9F%E5%8E%82%E5%95%86%E5%88%B0%E5%BC%80%E6%BA%90%E4%BA%91%E5%8E%9F%E7%94%9F%E4%BD%93%E7%B3%BB\">\u4e09\u3001APM\u884c\u4e1a\u5382\u5546\u6f14\u8fdb&#xff1a;\u95ed\u6e90\u4f20\u7edf\u5382\u5546\u5230\u5f00\u6e90\u4e91\u539f\u751f\u4f53\u7cfb<\/h3>\n<p>\u56fd\u5185APM\u884c\u4e1a\u7ecf\u5386\u4e86\u5546\u4e1a\u95ed\u6e90\u5784\u65ad \u2192 \u5f00\u6e90\u65b9\u6848\u5d1b\u8d77 \u2192 \u4e91\u539f\u751f\u6807\u51c6\u5316\u7edf\u4e00\u4e09\u4e2a\u9636\u6bb5&#xff0c;\u65b0\u65e7\u65b9\u6848\u7684\u8fed\u4ee3&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u5f53\u524d\u4f01\u4e1a\u7684\u6280\u672f\u9009\u578b\u4e0e\u62db\u8058\u6280\u672f\u6808\u3002<\/p>\n<h4 id=\"3.1%20%E4%BC%A0%E7%BB%9F%E9%97%AD%E6%BA%90%E5%95%86%E4%B8%9AAPM%EF%BC%88%E5%88%9D%E4%BB%A3%E8%A1%8C%E4%B8%9A%E6%96%B9%E6%A1%88%EF%BC%89\">3.1 \u4f20\u7edf\u95ed\u6e90\u5546\u4e1aAPM&#xff08;\u521d\u4ee3\u884c\u4e1a\u65b9\u6848&#xff09;<\/h4>\n<p>\u4ee3\u8868\u4ea7\u54c1&#xff1a;OneAPM&#xff08;\u84dd\u6d77\u8baf\u901a&#xff09;\u3001\u542c\u4e91\u3001\u535a\u777f\u6570\u636e \u8fd9\u662f\u56fd\u5185\u6700\u65e9\u7684\u5546\u7528APM\u4f53\u7cfb&#xff0c;2015\u20132018\u5e74\u5784\u65ad\u4f01\u4e1a\u5e02\u573a&#xff0c;\u5bf9\u6807\u56fd\u5916New Relic\u3002<\/p>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E6%9E%B6%E6%9E%84\">\u6838\u5fc3\u67b6\u6784<\/h5>\n<p>\u81ea\u7814\u79c1\u6709SDK\u91c7\u96c6 &#043; \u79c1\u6709\u534f\u8bae\u4f20\u8f93 &#043; \u540e\u7aef\u81ea\u7814\u5b58\u50a8&#xff08;\u65e9\u671fMySQL\/ES&#xff0c;\u540e\u671f\u5347\u7ea7ClickHouse&#xff09;<\/p>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E7%89%B9%E7%82%B9\">\u6838\u5fc3\u7279\u70b9<\/h5>\n<li>\n<p>\u5b8c\u5168\u95ed\u6e90&#xff1a;\u65e0\u5f00\u6e90\u4ee3\u7801&#xff0c;\u4f9d\u8d56License\u6388\u6743\u4ed8\u8d39\u4f7f\u7528&#xff0c;\u79c1\u6709\u5316\u90e8\u7f72\u6210\u672c\u6781\u9ad8&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e00\u4f53\u5316\u539a\u91cd&#xff1a;\u91c7\u96c6\u3001\u5b58\u50a8\u3001\u5206\u6790\u3001UI\u5168\u90e8\u81ea\u7814&#xff0c;\u65e0\u9700\u8fd0\u7ef4\u5f00\u6e90\u7ec4\u4ef6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u751f\u6001\u5c01\u95ed&#xff1a;\u79c1\u6709\u534f\u8bae&#xff0c;\u65e0\u6cd5\u5bf9\u63a5Prometheus\u3001Grafana\u7b49\u5f00\u6e90\u7ec4\u4ef6&#xff0c;\u7ed1\u5b9a\u5382\u5546&#xff1b;<\/p>\n<\/li>\n<h5 id=\"%E7%8E%B0%E7%8A%B6%E4%B8%8E%E5%B8%82%E5%9C%BA%E8%90%8E%E7%BC%A9%E5%8E%9F%E5%9B%A0\">\u73b0\u72b6\u4e0e\u5e02\u573a\u840e\u7f29\u539f\u56e0<\/h5>\n<li>\n<p>\u4e91\u539f\u751f\u5f00\u6e90\u751f\u6001\u666e\u53ca&#xff0c;\u514d\u8d39\u5f00\u6e90\u65b9\u6848\u5b8c\u5168\u66ff\u4ee3\u5546\u4e1aAPM\u80fd\u529b&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u79c1\u6709\u534f\u8bae\u3001\u65e0\u6cd5\u6269\u5c55\u3001\u4e8c\u6b21\u5f00\u53d1\u6210\u672c\u6781\u9ad8&#xff0c;\u4e0d\u9002\u914dK8s\u3001\u5fae\u670d\u52a1\u67b6\u6784&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4ec5\u7559\u5b58\u653f\u4f01\u4f20\u7edf\u8001\u65e7\u9879\u76ee\u7eed\u8d39\u7ef4\u62a4&#xff0c;\u4e92\u8054\u7f51\u65b0\u9879\u76ee\u3001\u4e91\u670d\u52a1\u5df2\u5f7b\u5e95\u6dd8\u6c70\u3002<\/p>\n<\/li>\n<h4 id=\"3.2%20%E5%9B%BD%E4%BA%A7%E5%BC%80%E6%BA%90%E4%B8%80%E4%BD%93%E5%8C%96APM%EF%BC%9AApache%20SkyWalking\">3.2 \u56fd\u4ea7\u5f00\u6e90\u4e00\u4f53\u5316APM&#xff1a;Apache SkyWalking<\/h4>\n<p>SkyWalking\u662f\u56fd\u5185\u6700\u6210\u529f\u7684\u5f00\u6e90APM\u9879\u76ee&#xff0c;Apache\u9876\u7ea7\u9879\u76ee&#xff0c;\u514d\u8d39\u5546\u7528\u3001\u65e0License\u9650\u5236&#xff0c;\u662f\u56fd\u5185Java\u5fae\u670d\u52a1\u96c6\u7fa4\u7684\u4e3b\u6d41\u9009\u578b\u3002<\/p>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E6%9E%B6%E6%9E%84\">\u6838\u5fc3\u67b6\u6784<\/h5>\n<p>\u591a\u8bed\u8a00Agent\/OTel\u91c7\u96c6 \u2192 OAP-Server&#xff08;\u6838\u5fc3\u540e\u7aef&#xff09; \u2192 BanyanDB\/ES\u5b58\u50a8 \u2192 \u81ea\u7814UI<\/p>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E6%A0%B8%E5%BF%83%E7%BB%84%E4%BB%B6OAP%E9%87%8A%E4%B9%89\">\u6838\u5fc3\u6838\u5fc3\u7ec4\u4ef6OAP\u91ca\u4e49<\/h5>\n<p>OAP\u5168\u79f0Observability Analysis Platform&#xff08;\u53ef\u89c2\u6d4b\u6027\u5206\u6790\u5e73\u53f0&#xff09;&#xff0c;\u662fSkyWalking\u7684\u6838\u5fc3\u540e\u7aef\u670d\u52a1\u3002<\/p>\n<ul>\n<li>\n<p>\u533a\u522b\u4e8eCollector&#xff1a;OAP\u4e0d\u4ec5\u63a5\u6536\u6570\u636e&#xff0c;\u8fd8\u627f\u62c5\u805a\u5408\u8ba1\u7b97\u3001\u62d3\u6251\u751f\u6210\u3001\u6307\u6807\u7edf\u8ba1\u3001\u544a\u8b66\u5206\u6790\u3001\u6570\u636e\u6301\u4e45\u5316\u5168\u80fd\u529b&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6838\u5fc3\u7279\u6027&#xff1a;\u517c\u5bb9\u6807\u51c6OTLP\u8f93\u5165&#xff0c;\u4f46\u6570\u636e\u5165\u5e93\u540e\u8f6c\u4e3a\u79c1\u6709\u5185\u90e8\u6a21\u578b&#xff0c;\u65e0\u6cd5\u53cd\u5411\u8f93\u51fa\u6807\u51c6OTLP&#xff0c;\u5b58\u5728\u751f\u6001\u7ed1\u5b9a&#xff1b;<\/p>\n<\/li>\n<\/ul>\n<h5 id=\"%E4%BC%98%E7%BC%BA%E7%82%B9%E6%80%BB%E7%BB%93\">\u4f18\u7f3a\u70b9\u603b\u7ed3<\/h5>\n<p>\u4f18\u52bf&#xff1a;Java\u65e0\u4fb5\u5165\u91c7\u96c6\u65e0\u654c\u3001\u5f00\u7bb1\u5373\u7528\u62d3\u6251\/\u544a\u8b66\/\u670d\u52a1\u6cbb\u7406\u3001\u4e2d\u6587\u751f\u6001\u5b8c\u5584\u3001\u9002\u914d\u56fd\u4ea7\u4e2d\u95f4\u4ef6\u3001\u8fd0\u7ef4\u7b80\u5355&#xff1b; \u52a3\u52bf&#xff1a;\u5185\u90e8\u6570\u636e\u6a21\u578b\u79c1\u6709\u3001\u65e0\u6cd5\u517c\u5bb9PromQL\u3001\u591a\u8bed\u8a00\u6807\u51c6\u5316\u5f31\u3001\u4e0d\u9002\u5408\u4e91\u539f\u751f\u7edf\u4e00\u6807\u51c6\u67b6\u6784\u3002<\/p>\n<h4 id=\"3.3%20%E5%9B%BD%E9%99%85%E5%BC%80%E6%BA%90%E6%A0%87%E5%87%86%E4%BD%93%E7%B3%BB%EF%BC%9AOTel%20%2B%20Prometheus%20%2B%20Grafana%20%E7%94%9F%E6%80%81\">3.3 \u56fd\u9645\u5f00\u6e90\u6807\u51c6\u4f53\u7cfb&#xff1a;OTel &#043; Prometheus &#043; Grafana \u751f\u6001<\/h4>\n<p>\u8fd9\u662f\u6d77\u5916\u5927\u5382\u3001\u4e91\u539f\u751f\u9879\u76ee\u3001\u591a\u8bed\u8a00\u96c6\u7fa4\u7684\u5168\u7403\u901a\u7528\u6807\u51c6&#xff0c;\u5b8c\u5168\u57fa\u4e8eCNCF\u5f00\u6e90\u89c4\u8303&#xff0c;\u65e0\u5382\u5546\u7ed1\u5b9a\u3002<\/p>\n<h5 id=\"%E7%BB%84%E4%BB%B6%E5%88%86%E5%B7%A5\">\u7ec4\u4ef6\u5206\u5de5<\/h5>\n<li>\n<p>OpenTelemetry&#xff1a;\u7edf\u4e00\u91c7\u96c6\u6807\u51c6&#xff0c;\u5b9a\u4e49\u6240\u6709\u8bed\u8a00SDK\u3001OTLP\u534f\u8bae\u3001\u6570\u636e\u89c4\u8303&#xff0c;\u662f\u73b0\u4ee3\u89c2\u6d4b\u7684\u552f\u4e00\u91c7\u96c6\u6807\u51c6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Prometheus&#xff1a;\u65f6\u5e8f\u6307\u6807\u91c7\u96c6\u6807\u51c6&#xff0c;\u751f\u6001\u6700\u5168&#xff0c;\u6240\u6709\u4e2d\u95f4\u4ef6\u3001\u7ec4\u4ef6\u539f\u751f\u66b4\u9732Metrics\u7aef\u70b9&#xff0c;PromQL\u4e3a\u884c\u4e1a\u901a\u7528\u67e5\u8be2\u8bed\u8a00&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Grafana&#xff1a;\u7edf\u4e00\u53ef\u89c6\u5316UI&#xff0c;\u65e0\u72b6\u6001\u524d\u7aef&#xff0c;\u4e0d\u5b58\u50a8\u4e1a\u52a1\u6570\u636e&#xff0c;\u4ec5\u8d1f\u8d23\u5927\u76d8\u5c55\u793a\u3001\u94fe\u8def\u67e5\u8be2\u3001\u544a\u8b66\u914d\u7f6e&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Mimir&#xff1a;Prometheus\u5206\u5e03\u5f0f\u96c6\u7fa4\u5347\u7ea7\u7248&#xff0c;\u539f\u751f\u591a\u79df\u6237\u3001\u7ebf\u6027\u6269\u5bb9\u3001\u5bf9\u8c61\u5b58\u50a8\u6301\u4e45\u5316&#xff0c;\u66ff\u4ee3\u5355\u673aPrometheus&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Tempo&#xff1a;\u8f7b\u91cf\u5316\u5206\u5e03\u5f0fTrace\u5b58\u50a8&#xff0c;Grafana\u5f00\u6e90&#xff0c;Apache2.0\u5bbd\u677e\u534f\u8bae&#xff0c;\u4e13\u4e3a\u6d77\u91cf\u94fe\u8def\u6570\u636e\u8bbe\u8ba1\u3002<\/p>\n<\/li>\n<h3 id=\"%E5%9B%9B%E3%80%81%E7%8E%B0%E4%BB%A3%E4%B8%A4%E5%A4%A7%E4%B8%BB%E6%B5%81APM%E6%9E%B6%E6%9E%84%E4%BD%93%E7%B3%BB%E6%B7%B1%E5%BA%A6%E5%AF%B9%E6%AF%94\">\u56db\u3001\u73b0\u4ee3\u4e24\u5927\u4e3b\u6d41APM\u67b6\u6784\u4f53\u7cfb\u6df1\u5ea6\u5bf9\u6bd4<\/h3>\n<p>\u5f53\u524d\u884c\u4e1a\u6240\u6709\u4f01\u4e1a\u67b6\u6784&#xff0c;\u6700\u7ec8\u90fd\u4f1a\u5f52\u4e3a\u4e00\u4f53\u5316SkyWalking\u67b6\u6784\u548cCNCF\u6807\u51c6LGTM\u67b6\u6784\u4e24\u5927\u6d41\u6d3e&#xff0c;\u4e8c\u8005\u6ca1\u6709\u7edd\u5bf9\u4f18\u52a3&#xff0c;\u9002\u914d\u573a\u666f\u5b8c\u5168\u4e0d\u540c\u3002<\/p>\n<h4 id=\"4.1%20%E6%9E%B6%E6%9E%84%E4%B8%80%EF%BC%9ASkyWalking%E4%B8%80%E4%BD%93%E5%8C%96%E6%9E%B6%E6%9E%84\">4.1 \u67b6\u6784\u4e00&#xff1a;SkyWalking\u4e00\u4f53\u5316\u67b6\u6784<\/h4>\n<h5 id=\"%E5%AE%8C%E6%95%B4%E9%93%BE%E8%B7%AF\">\u5b8c\u6574\u94fe\u8def<\/h5>\n<p>\u591a\u8bed\u8a00\u91c7\u96c6&#xff08;Java Agent&#043;Go\/C&#043;&#043; OTel SDK&#xff09;\u2192 OTel Collector \u2192 SkyWalking OAP \u2192 BanyanDB\/ES \u2192 SkyWalking UI<\/p>\n<h5 id=\"%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF\">\u9002\u7528\u573a\u666f<\/h5>\n<p>\u56fd\u5185\u4f20\u7edfJava\u5fae\u670d\u52a1\u96c6\u7fa4\u3001\u653f\u4f01\u9879\u76ee\u3001\u8ffd\u6c42\u4f4e\u8fd0\u7ef4\u6210\u672c\u3001\u5feb\u901f\u843d\u5730\u7684\u56e2\u961f<\/p>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E4%BC%98%E5%8A%BF\">\u6838\u5fc3\u4f18\u52bf<\/h5>\n<li>\n<p>\u96f6\u4ee3\u7801\u63a5\u5165Java\u670d\u52a1&#xff0c;\u843d\u5730\u6548\u7387\u6781\u9ad8&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u81ea\u5e26\u670d\u52a1\u62d3\u6251\u3001\u5f02\u5e38\u5206\u6790\u3001\u544a\u8b66\u805a\u5408&#xff0c;\u65e0\u9700\u7ec4\u88c5\u591a\u7ec4\u4ef6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e2d\u6587\u793e\u533a\u6210\u719f&#xff0c;\u8e29\u5751\u6848\u4f8b\u4e30\u5bcc&#xff0c;\u8fd0\u7ef4\u95e8\u69db\u4f4e\u3002<\/p>\n<\/li>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E7%9F%AD%E6%9D%BF\">\u6838\u5fc3\u77ed\u677f<\/h5>\n<li>\n<p>\u6570\u636e\u6a21\u578b\u79c1\u6709&#xff0c;\u751f\u6001\u7ed1\u5b9a&#xff0c;\u65e0\u6cd5\u65e0\u7f1d\u8fc1\u79fb\u81f3\u6807\u51c6\u4e91\u539f\u751f\u4f53\u7cfb&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e0d\u517c\u5bb9PromQL&#xff0c;\u57fa\u7840\u8bbe\u65bd\u6307\u6807\u89c2\u6d4b\u80fd\u529b\u5f31\u4e8ePrometheus\/Mimir&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Trace\u68c0\u7d22\u3001\u81ea\u5b9a\u4e49\u6307\u6807\u7075\u6d3b\u6027\u5f31\u4e8e\u6807\u51c6\u5f00\u6e90\u6808\u3002<\/p>\n<\/li>\n<h4 id=\"4.2%20%E6%9E%B6%E6%9E%84%E4%BA%8C%EF%BC%9ACNCF%E6%A0%87%E5%87%86LGTM%E6%9E%B6%E6%9E%84%EF%BC%88OTel%2BMimir%2BTempo%2BGrafana%EF%BC%89\">4.2 \u67b6\u6784\u4e8c&#xff1a;CNCF\u6807\u51c6LGTM\u67b6\u6784&#xff08;OTel&#043;Mimir&#043;Tempo&#043;Grafana&#xff09;<\/h4>\n<h5 id=\"%E5%AE%8C%E6%95%B4%E9%93%BE%E8%B7%AF\">\u5b8c\u6574\u94fe\u8def<\/h5>\n<p>\u591a\u8bed\u8a00\u7edf\u4e00OTel SDK \u2192 OTel Collector \u2192 Metrics\u5199\u5165Mimir&#xff08;\u5206\u5e03\u5f0f\u65f6\u5e8f\u5b58\u50a8&#xff09; \u2192 Trace\u5199\u5165Tempo&#xff08;\u8f7b\u91cf\u5316\u94fe\u8def\u5b58\u50a8&#xff09; \u2192 Grafana\u7edf\u4e00\u53ef\u89c6\u5316\u3001\u544a\u8b66<\/p>\n<h5 id=\"%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF\">\u9002\u7528\u573a\u666f<\/h5>\n<p>\u4e91\u539f\u751f\u591a\u8bed\u8a00\u96c6\u7fa4&#xff08;Go\/C&#043;&#043;\/Java\u6df7\u5408&#xff09;\u3001\u4e92\u8054\u7f51\u65b0\u9879\u76ee\u3001\u5bf9\u5916\u4e91\u670d\u52a1\u3001\u8ffd\u6c42\u6807\u51c6\u5316\u65e0\u7ed1\u5b9a\u7684\u56e2\u961f<\/p>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E4%BC%98%E5%8A%BF\">\u6838\u5fc3\u4f18\u52bf<\/h5>\n<li>\n<p>\u5b8c\u5168\u6807\u51c6\u4e2d\u7acb&#xff1a;OTLP\u7edf\u4e00\u91c7\u96c6\u3001PromQL\u901a\u7528\u67e5\u8be2&#xff0c;\u6240\u6709\u7ec4\u4ef6\u53ef\u72ec\u7acb\u66ff\u6362&#xff0c;\u65e0\u5382\u5546\u7ed1\u5b9a&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b58\u50a8\u7269\u7406\u9694\u79bb&#xff1a;Metrics\u9ad8\u5e76\u53d1\u805a\u5408\u67e5\u8be2\u3001Trace\u6d77\u91cf\u5199\u5165\u68c0\u7d22\u4e92\u76f8\u9694\u79bb&#xff0c;\u7a33\u5b9a\u6027\u6781\u9ad8&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6269\u5c55\u6027\u6781\u5f3a&#xff1a;\u652f\u6301\u591a\u79df\u6237\u3001\u914d\u989d\u9650\u6d41\u3001\u7ebf\u6027\u6269\u5bb9&#xff0c;\u9002\u914d\u5927\u5382\u4e91\u670d\u52a1\u7ea7\u522b\u573a\u666f&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u534f\u8bae\u53cb\u597d&#xff1a;Tempo\u4e3aApache2.0\u534f\u8bae&#xff0c;\u5546\u7528\u65e0\u98ce\u9669\u3002<\/p>\n<\/li>\n<h5 id=\"%E6%A0%B8%E5%BF%83%E7%9F%AD%E6%9D%BF\">\u6838\u5fc3\u77ed\u677f<\/h5>\n<li>\n<p>\u7ec4\u4ef6\u62c6\u5206\u7ec6&#xff0c;\u8fd0\u7ef4\u590d\u6742\u5ea6\u9ad8\u4e8e\u4e00\u4f53\u5316SkyWalking&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Tempo\u65e0\u5168\u91cf\u5012\u6392\u7d22\u5f15&#xff0c;Trace\u5168\u6587\u68c0\u7d22\u80fd\u529b\u5f31\u4e8eES\/SkyWalking&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Mimir\u4e3aAGPL3.0\u534f\u8bae&#xff0c;\u5bf9\u5916\u4e91\u552e\u5356\u670d\u52a1\u5b58\u5728\u5408\u89c4\u7ea6\u675f\u3002<\/p>\n<\/li>\n<h4 id=\"4.3%20%E6%9E%B6%E6%9E%84%E4%B8%89%EF%BC%9A%E5%8D%95%E6%9C%BA%E7%AE%80%E6%98%93%E5%8E%9F%E5%9E%8B%E6%9E%B6%E6%9E%84%EF%BC%88%E5%B0%8F%E9%9B%86%E7%BE%A4%E3%80%81%E6%B5%8B%E8%AF%95%E7%8E%AF%E5%A2%83%EF%BC%89\">4.3 \u67b6\u6784\u4e09&#xff1a;\u5355\u673a\u7b80\u6613\u539f\u578b\u67b6\u6784&#xff08;\u5c0f\u96c6\u7fa4\u3001\u6d4b\u8bd5\u73af\u5883&#xff09;<\/h4>\n<p>OTel \u63a2\u9488 &#043; Jaeger &#043; Prometheus&#xff0c;\u4e0d\u90e8\u7f72\u5206\u5e03\u5f0f Mimir\/Tempo&#xff0c;\u5168\u90e8\u5355\u673a\u7ec4\u4ef6<\/p>\n<p>\u63a2\u9488&#xff1a;OTel\u2011SDK \/ OTel\u2011Agent<br \/>\n \u00a0 \u00a0 \u00a0  \u2193 OTLP<br \/>\nOpenTelemetry\u2011Collector<br \/>\n \u00a0  \u251c\u2011Metrics \u2192 Prometheus remote_write&#xff08;\u5355\u673aTSDB&#xff09;<br \/>\n \u00a0  \u2514\u2011Trace \u2192 Jaeger\u2011Collector&#xff0c;\u5b58\u50a8\u540e\u7aef\u4f7f\u7528ES\u5355\u673a\/Badger<br \/>\n \u00a0 \u00a0 \u00a0  \u2193<br \/>\nGrafana &#043; Jaeger\u2011UI \u5206\u522b\u5c55\u793a\u6307\u6807\u3001\u94fe\u8def <\/p>\n<p>\u7279\u70b9&#xff1a;\u5168\u90e8\u5355\u673a\u7ec4\u4ef6&#xff0c;\u90e8\u7f72\u7b80\u5355&#xff0c;\u4e0a\u624b\u6210\u672c\u4f4e&#xff1b; \u5c40\u9650&#xff1a;\u65e0\u9ad8\u53ef\u7528\u3001\u65e0\u5206\u7247\u3001\u65e0\u591a\u79df\u6237&#xff1b;\u6570\u636e\u6709\u4fdd\u7559\u65f6\u95f4\u9650\u5236&#xff1b;ES \u8d44\u6e90\u6d88\u8017\u5927&#xff1b;\u4ec5\u7528\u4e8e\u6d4b\u8bd5\u3001\u5c0f\u89c4\u6a21&#xff0c;\u4e0d\u9002\u5408\u751f\u4ea7\u5927\u89c4\u6a21\u3002<\/p>\n<\/p>\n<p>\u7b80\u8868\u5bf9\u6bd4<\/p>\n<table>\n<tr>\u67b6\u6784\u6838\u5fc3\u7ec4\u4ef6\u6a21\u5f0f\u9002\u5408\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>\u67b6\u6784\u4e00<\/td>\n<td>SkyWalking Agent&#043;OAP&#043;UI<\/td>\n<td>\u4e00\u4f53\u5316\u540e\u7aef<\/td>\n<td>Java \u4e3a\u4e3b&#xff0c;\u60f3\u8981\u5f00\u7bb1\u5373\u7528\u62d3\u6251\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u67b6\u6784\u4e8c<\/td>\n<td>OTel\u2011Collector&#043;Mimir&#043;Tempo&#043;Grafana<\/td>\n<td>\u62c6\u5206\u5206\u5e03\u5f0f&#xff0c;CNCF \u6807\u51c6<\/td>\n<td>\u591a\u8bed\u8a00\u3001\u5e73\u53f0\u591a\u79df\u6237\u3001\u751f\u4ea7\u5927\u5382<\/td>\n<\/tr>\n<tr>\n<td>\u67b6\u6784\u4e09<\/td>\n<td>OTel\u2011Collector&#043;Prometheus&#043;Jaeger<\/td>\n<td>\u5355\u673a\u539f\u578b<\/td>\n<td>\u6d4b\u8bd5\u3001\u5b66\u4e60\u3001\u5c0f\u89c4\u6a21\u6f14\u793a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"%E4%BA%94%E3%80%81%E4%B8%BB%E6%B5%81%E5%AD%98%E5%82%A8%E6%96%B9%E6%A1%88%E9%80%89%E5%9E%8B%EF%BC%9A%E5%BD%BB%E5%BA%95%E5%91%8A%E5%88%ABClickHouse%2BES%E4%BC%A0%E7%BB%9F%E6%9E%B6%E6%9E%84\">\u4e94\u3001\u4e3b\u6d41\u5b58\u50a8\u65b9\u6848\u9009\u578b&#xff1a;\u5f7b\u5e95\u544a\u522bClickHouse&#043;ES\u4f20\u7edf\u67b6\u6784<\/h3>\n<p>\u65e9\u671fOneAPM\u3001\u81ea\u7814APM\u666e\u904d\u91c7\u7528ClickHouse\u5b58Metrics\u3001ES\u5b58Trace\u7684\u91cd\u578b\u67b6\u6784&#xff0c;\u8fd9\u5957\u67b6\u6784\u6027\u80fd\u5f3a\u4f46\u8fd0\u7ef4\u6210\u672c\u6781\u9ad8&#xff0c;\u73b0\u4ee3\u5f00\u6e90\u65b9\u6848\u5df2\u5b9e\u73b0\u5168\u9762\u66ff\u4ee3\u3002<\/p>\n<h4 id=\"5.1%20%E4%BC%A0%E7%BB%9F%E6%9E%B6%E6%9E%84%EF%BC%9AClickHouse%20%2B%20ES\">5.1 \u4f20\u7edf\u67b6\u6784&#xff1a;ClickHouse &#043; ES<\/h4>\n<ul>\n<li>\n<p>ClickHouse&#xff1a;\u4f9d\u9760\u7269\u5316\u89c6\u56fe\u5b9e\u73b05\/15\u5206\u949f\u6307\u6807\u9884\u805a\u5408&#xff0c;\u65f6\u5e8f\u5206\u6790\u6027\u80fd\u6781\u5f3a&#xff1b;<\/p>\n<\/li>\n<li>\n<p>ES&#xff1a;\u4f9d\u9760\u5012\u6392\u7d22\u5f15\u5b9e\u73b0Trace\u5168\u6587\u68c0\u7d22\u3001\u5f02\u5e38\u65e5\u5fd7\u68c0\u7d22&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u81f4\u547d\u7f3a\u70b9&#xff1a;\u4e24\u5957\u91cd\u578b\u96c6\u7fa4\u3001\u9700\u8981\u81ea\u7814Schema\/\u7d22\u5f15\/UI\/\u591a\u79df\u6237&#xff0c;\u8fd0\u7ef4\u6210\u672c\u6781\u9ad8&#xff0c;\u4ec5\u5927\u5382\u81ea\u7814APM\u4f7f\u7528\u3002<\/p>\n<\/li>\n<\/ul>\n<h4 id=\"5.2%20%E7%8E%B0%E4%BB%A3%E6%9B%BF%E4%BB%A3%E6%96%B9%E6%A1%88%E5%AF%B9%E6%AF%94\">5.2 \u73b0\u4ee3\u66ff\u4ee3\u65b9\u6848\u5bf9\u6bd4<\/h4>\n<li>\n<p>Mimir&#xff08;\u66ff\u4ee3ClickHouse\u6307\u6807\u5b58\u50a8&#xff09; \u539f\u751f\u65f6\u5e8f\u805a\u5408\u3001\u964d\u91c7\u6837\u3001\u544a\u8b66\u3001\u591a\u79df\u6237&#xff0c;\u517c\u5bb9PromQL&#xff0c;\u65e0\u9700\u81ea\u7814\u7269\u5316\u89c6\u56fe&#xff0c;\u5f00\u7bb1\u5373\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Tempo&#xff08;\u66ff\u4ee3ES\u94fe\u8def\u5b58\u50a8&#xff09; \u57fa\u4e8e\u5bf9\u8c61\u5b58\u50a8&#xff0c;\u5199\u5165\u541e\u5410\u6781\u9ad8\u3001\u6210\u672c\u6781\u4f4e&#xff0c;Grafana\u539f\u751fUI\u652f\u6301&#xff0c;\u65e0\u9700\u7ef4\u62a4ES\u91cd\u578b\u96c6\u7fa4&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5907\u9009\u8f7b\u91cf\u5316\u65b9\u6848&#xff1a;VictoriaMetrics\u5168\u5bb6\u6876 Apache2.0\u5b8c\u5168\u5f00\u6e90\u65e0\u98ce\u9669&#xff0c;VM\u5b58\u6307\u6807\u3001VictoriaTraces\u5b58\u94fe\u8def&#xff0c;\u8d44\u6e90\u5360\u7528\u4f4e\u4e8eMimir&#043;Tempo&#xff0c;\u9002\u5408\u4ecb\u610f\u534f\u8bae\u98ce\u9669\u7684\u4f01\u4e1a\u3002<\/p>\n<\/li>\n<h3 id=\"%E5%85%AD%E3%80%81%E8%A1%8C%E4%B8%9A%E5%A4%A7%E5%8E%82%E9%80%89%E5%9E%8B%E7%8E%B0%E7%8A%B6%E4%B8%8E%E5%BA%95%E5%B1%82%E9%80%BB%E8%BE%91\">\u516d\u3001\u884c\u4e1a\u5927\u5382\u9009\u578b\u73b0\u72b6\u4e0e\u5e95\u5c42\u903b\u8f91<\/h3>\n<h4 id=\"6.1%20%E6%B5%B7%E5%A4%96%E5%A4%A7%E5%8E%82\">6.1 \u6d77\u5916\u5927\u5382<\/h4>\n<p>\u5168\u5458\u666e\u53caLGTM\u6807\u51c6\u67b6\u6784&#xff0c;Adobe\u3001Unity\u3001Grafana Cloud\u5168\u90e8\u91c7\u7528OTel&#043;Mimir&#043;Tempo\u6808&#xff0c;\u6838\u5fc3\u539f\u56e0&#xff1a;\u6807\u51c6\u5316\u3001\u591a\u8bed\u8a00\u9002\u914d\u3001\u53ef\u65e0\u9650\u6269\u5bb9\u3001\u65e0\u751f\u6001\u7ed1\u5b9a&#xff0c;\u5951\u5408\u4e91\u539f\u751f\u5168\u7403\u7edf\u4e00\u89c4\u8303\u3002<\/p>\n<h4 id=\"6.2%20%E5%9B%BD%E5%86%85%E5%A4%A7%E5%8E%82%E9%80%89%E5%9E%8B%E4%B8%A4%E6%9E%81%E5%88%86%E5%8C%96\">6.2 \u56fd\u5185\u5927\u5382\u9009\u578b\u4e24\u6781\u5206\u5316<\/h4>\n<li>\n<p>\u4f20\u7edfJava\u4e1a\u52a1\u96c6\u7fa4&#xff1a;\u4f18\u5148SkyWalking&#xff0c;\u5229\u7528\u65e0\u4fb5\u5165Agent\u5feb\u901f\u843d\u5730&#xff0c;\u964d\u4f4e\u8fd0\u7ef4\u6210\u672c&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e91\u539f\u751f\/Go\u5fae\u670d\u52a1\/\u65b0\u4e1a\u52a1&#xff1a;\u4f18\u5148LGTM\u6807\u51c6\u67b6\u6784&#xff0c;\u8ffd\u6c42\u6807\u51c6\u5316\u3001\u53ef\u6269\u5c55\u6027&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u81ea\u7814\u4e91APM\u4ea7\u54c1&#xff1a;\u90e8\u5206\u5927\u5382\u57fa\u4e8eClickHouse\u6df1\u5ea6\u81ea\u7814&#xff0c;\u517c\u987e\u6027\u80fd\u4e0eSQL\u5206\u6790\u80fd\u529b&#xff0c;\u4f46\u9700\u81ea\u7814\u5168\u5957\u7f51\u5173\u3001\u6743\u9650\u3001UI&#xff1b;<\/p>\n<\/li>\n<h4 id=\"6.3%20%E6%8B%9B%E8%81%98%E6%8A%80%E6%9C%AF%E6%A0%88%E5%BA%95%E5%B1%82%E9%80%BB%E8%BE%91\">6.3 \u62db\u8058\u6280\u672f\u6808\u5e95\u5c42\u903b\u8f91<\/h4>\n<p>\u5927\u5382\u9ad8\u9891\u8003\u8651Prometheus\/Grafana&#xff0c;\u6781\u5c11\u8003\u8651SkyWalking\u9b54\u6539&#xff0c;\u6838\u5fc3\u539f\u56e0&#xff1a;<\/p>\n<li>\n<p>PromQL\u3001OTel\u662f\u901a\u7528\u6280\u80fd&#xff0c;\u8df3\u69fd\u53ef\u590d\u7528&#xff1b;SkyWalking\u79c1\u6709\u80fd\u529b\u5c40\u9650\u6027\u5f3a&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5927\u5382\u57fa\u7840\u8bbe\u65bd\u76d1\u63a7\u3001\u4e2d\u95f4\u4ef6\u76d1\u63a7\u5168\u90e8\u4f9d\u8d56Prometheus\u751f\u6001&#xff0c;SkyWalking\u4ec5\u8d1f\u8d23\u5e94\u7528APM&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6807\u51c6\u4e91\u539f\u751f\u6808\u53ef\u4e8c\u6b21\u5f00\u53d1\u3001\u53ef\u6269\u5c55&#xff0c;\u9002\u914d\u6240\u6709\u4e1a\u52a1\u573a\u666f&#xff0c;\u5929\u82b1\u677f\u66f4\u9ad8\u3002<\/p>\n<\/li>\n<h3 id=\"%E4%B8%83%E3%80%81%E5%85%A8%E6%96%87%E6%80%BB%E7%BB%93%E4%B8%8E%E9%80%89%E5%9E%8B%E7%BB%88%E6%9E%81%E5%BB%BA%E8%AE%AE\">\u4e03\u3001\u5168\u6587\u603b\u7ed3\u4e0e\u9009\u578b\u7ec8\u6781\u5efa\u8bae<\/h3>\n<li>\n<p>\u6838\u5fc3\u6982\u5ff5\u95ed\u73af&#xff1a;APM\u6838\u5fc3\u7531Metrics&#xff08;\u5b8f\u89c2\u8d8b\u52bf\u3001\u544a\u8b66\u7edf\u8ba1&#xff09;\u548cTrace&#xff08;\u5fae\u89c2\u94fe\u8def\u3001\u6545\u969c\u5b9a\u4f4d&#xff09;\u7ec4\u6210&#xff0c;\u4e8c\u8005\u4e92\u8865\u4e0d\u53ef\u66ff\u4ee3&#xff0c;\u4e14\u5fc5\u987b\u7269\u7406\u5206\u5e93\u5b58\u50a8&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Collector\u662f\u73b0\u4ee3\u89c2\u6d4b\u6838\u5fc3&#xff1a;\u7edf\u4e00\u591a\u8bed\u8a00\u91c7\u96c6\u3001\u534f\u8bae\u8f6c\u6362\u3001\u6570\u636e\u6cbb\u7406\u3001\u524a\u5cf0\u8f6c\u53d1&#xff0c;\u662f\u6240\u6709\u6807\u51c6\u67b6\u6784\u7684\u5fc5\u5907\u4e2d\u95f4\u5c42&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u8bed\u8a00\u91c7\u96c6\u9009\u578b&#xff1a;Java\u4f18\u5148SkyWalking Agent&#xff0c;Go\/C&#043;&#043;\u7edf\u4e00\u4f7f\u7528OpenTelemetry SDK&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u67b6\u6784\u9009\u578b\u8fb9\u754c&#xff1a;\u4f20\u7edfJava\u5fae\u670d\u52a1\u3001\u5feb\u901f\u843d\u5730\u9009SkyWalking\u4e00\u4f53\u5316\u67b6\u6784&#xff1b;\u4e91\u539f\u751f\u591a\u8bed\u8a00\u3001\u6807\u51c6\u5316\u3001\u4e91\u670d\u52a1\u573a\u666f\u9009LGTM&#xff08;Mimir&#043;Tempo&#xff09;\u6807\u51c6\u67b6\u6784&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6280\u672f\u8fed\u4ee3\u8d8b\u52bf&#xff1a;\u4f20\u7edfClickHouse&#043;ES\u91cd\u578b\u81ea\u7814\u67b6\u6784\u9010\u6b65\u88ab\u5f00\u6e90\u6807\u51c6\u5316\u7ec4\u4ef6\u66ff\u4ee3&#xff0c;OTel\u7edf\u4e00\u91c7\u96c6\u3001\u7ec4\u4ef6\u89e3\u8026\u3001\u5b58\u50a8\u9694\u79bb\u662f\u672a\u6765\u53ef\u89c2\u6d4b\u4f53\u7cfb\u7684\u7edd\u5bf9\u8d8b\u52bf\u3002<\/p>\n<\/li>\n<p>\u672a\u5b8c\u5f85\u7eed&#xff0c;\u540e\u6587\u8ba8\u8bba\u76f8\u5173\u7684\u534f\u8bae\u4e0e\u5b58\u50a8\u67b6\u6784\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 \u4e00\u3001APM\u6838\u5fc3\u5b9a\u4e49\u4e0e\u4e24\u5927\u6838\u5fc3\u6570\u636e\u4f53\u7cfb<br \/>\n1.1 APM\u57fa\u7840\u6982\u5ff5<br \/>\n1.2 Metrics&#xff08;\u6307\u6807\u6570\u636e&#xff09;\u6838\u5fc3\u5b9a\u4e49\u4e0e\u5206\u7c7b<br \/>\n1.3 Trace &amp; Span&#xff08;\u94fe\u8def\u8ffd\u8e2a&#xff09;\u6838\u5fc3\u5b9a\u4e49 \u4e8c\u3001APM\u5168\u94fe\u8def\u67b6\u6784 2.1 \u7ec4\u4ef6\u8bb2\u89e3<br \/>\n2.1.1. \u63a2\u9488&#xff08;Agent \/ SDK&#xff09;<br \/>\n1&#xff09;SDK&#xff08;\u4ee3\u7801\u57cb\u70b9&#xff09;<br \/>\n2&#xff09;Agent&#xff08;\u65e0\u4fb5\u5165\u63a2\u9488&amp;#x<\/p>\n","protected":false},"author":2,"featured_media":100939,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9509,11537,11538,1647,678],"topic":[],"class_list":["post-100947","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-apm","tag-metrics","tag-trace","tag-grafana","tag-prometheus"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09 - \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\/100947.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u76ee\u5f55 \u4e00\u3001APM\u6838\u5fc3\u5b9a\u4e49\u4e0e\u4e24\u5927\u6838\u5fc3\u6570\u636e\u4f53\u7cfb 1.1 APM\u57fa\u7840\u6982\u5ff5 1.2 Metrics&#xff08;\u6307\u6807\u6570\u636e&#xff09;\u6838\u5fc3\u5b9a\u4e49\u4e0e\u5206\u7c7b 1.3 Trace &amp; Span&#xff08;\u94fe\u8def\u8ffd\u8e2a&#xff09;\u6838\u5fc3\u5b9a\u4e49 \u4e8c\u3001APM\u5168\u94fe\u8def\u67b6\u6784 2.1 \u7ec4\u4ef6\u8bb2\u89e3 2.1.1. \u63a2\u9488&#xff08;Agent \/ SDK&#xff09; 1&#xff09;SDK&#xff08;\u4ee3\u7801\u57cb\u70b9&#xff09; 2&#xff09;Agent&#xff08;\u65e0\u4fb5\u5165\u63a2\u9488&amp;#x\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/100947.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-05T11:25:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112524-6a9bfc242499d.png\" \/>\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=\"14 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100947.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/100947.html\",\"name\":\"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-05T11:25:35+00:00\",\"dateModified\":\"2026-09-05T11:25:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/100947.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/100947.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100947.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09\"}]},{\"@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":"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09 - \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\/100947.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u76ee\u5f55 \u4e00\u3001APM\u6838\u5fc3\u5b9a\u4e49\u4e0e\u4e24\u5927\u6838\u5fc3\u6570\u636e\u4f53\u7cfb 1.1 APM\u57fa\u7840\u6982\u5ff5 1.2 Metrics&#xff08;\u6307\u6807\u6570\u636e&#xff09;\u6838\u5fc3\u5b9a\u4e49\u4e0e\u5206\u7c7b 1.3 Trace &amp; Span&#xff08;\u94fe\u8def\u8ffd\u8e2a&#xff09;\u6838\u5fc3\u5b9a\u4e49 \u4e8c\u3001APM\u5168\u94fe\u8def\u67b6\u6784 2.1 \u7ec4\u4ef6\u8bb2\u89e3 2.1.1. \u63a2\u9488&#xff08;Agent \/ SDK&#xff09; 1&#xff09;SDK&#xff08;\u4ee3\u7801\u57cb\u70b9&#xff09; 2&#xff09;Agent&#xff08;\u65e0\u4fb5\u5165\u63a2\u9488&amp;#x","og_url":"https:\/\/www.wsisp.com\/helps\/100947.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-05T11:25:35+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260905112524-6a9bfc242499d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"14 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/100947.html","url":"https:\/\/www.wsisp.com\/helps\/100947.html","name":"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-05T11:25:35+00:00","dateModified":"2026-09-05T11:25:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/100947.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/100947.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/100947.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff08APM\uff09\u4e4b \u524d\u4e16\u4eca\u751f\uff08\u4e00\uff09"}]},{"@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\/100947","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=100947"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/100947\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/100939"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=100947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=100947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=100947"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=100947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}