{"id":38602,"date":"2025-04-24T07:00:55","date_gmt":"2025-04-23T23:00:55","guid":{"rendered":"https:\/\/www.yunshan.net\/blog\/?p=38602"},"modified":"2025-04-24T07:00:55","modified_gmt":"2025-04-23T23:00:55","slug":"skywalking%e5%a6%82%e4%bd%95%e6%8f%90%e4%be%9b%e8%b7%a8%e5%9c%b0%e5%9f%9f%e7%9a%84%e6%95%b0%e6%8d%ae%e5%90%8c%e6%ad%a5%e5%92%8c%e4%b8%80%e8%87%b4%e6%80%a7","status":"publish","type":"post","link":"https:\/\/www.yunshan.net\/blog\/archives\/38602.html","title":{"rendered":"SkyWalking\u5982\u4f55\u63d0\u4f9b\u8de8\u5730\u57df\u7684\u6570\u636e\u540c\u6b65\u548c\u4e00\u81f4\u6027"},"content":{"rendered":"<p style=\"text-align: center;\">\n<p><img decoding=\"async\" src=\"https:\/\/pic.zadbj010.com\/2025\/ab7bfd409274811.webp\" alt=\"SkyWalking\u5982\u4f55\u63d0\u4f9b\u8de8\u5730\u57df\u7684\u6570\u636e\u540c\u6b65\u548c\u4e00\u81f4\u6027\" ><\/p>\n<\/p>\n<h2>\u4e00\u3001SkyWalking\u7b80\u4ecb<\/h2>\n<p>SkyWalking\u662f\u4e00\u4e2a\u5f00\u6e90\u7684APM\uff08Application Performance Monitoring\uff0c\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff09\u7cfb\u7edf\uff0c\u4e13\u4e3a\u5fae\u670d\u52a1\u3001\u4e91\u539f\u751f\u548c\u5bb9\u5668\u5316\u67b6\u6784\u8bbe\u8ba1\u3002\u5b83\u63d0\u4f9b\u4e86\u5206\u5e03\u5f0f\u8ffd\u8e2a\u3001\u670d\u52a1\u62d3\u6251\u5206\u6790\u3001\u6027\u80fd\u6307\u6807\u76d1\u6d4b\u548c\u8bca\u65ad\u80fd\u529b\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u7406\u89e3\u7cfb\u7edf\u884c\u4e3a\u3001\u4f18\u5316\u6027\u80fd\u548c\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u3002<\/p>\n<h2>\u4e8c\u3001\u8de8\u5730\u57df\u6570\u636e\u540c\u6b65<\/h2>\n<p>SkyWalking\u652f\u6301\u5728\u4e0d\u540c\u5730\u57df\u95f4\u540c\u6b65\u6570\u636e\uff0c\u4f7f\u5f97\u4f4d\u4e8e\u4e0d\u540c\u5730\u7406\u4f4d\u7f6e\u7684\u670d\u52a1\u53ef\u4ee5\u5171\u4eab\u76d1\u63a7\u6570\u636e\u3002\u4ee5\u4e0b\u662f\u5176\u8de8\u5730\u57df\u6570\u636e\u540c\u6b65\u7684\u673a\u5236\uff1a<\/p>\n<p>1. <strong>\u6570\u636e\u91c7\u96c6<\/strong>\uff1aSkyWalking\u901a\u8fc7\u5728\u670d\u52a1\u4e2d\u690d\u5165\u4ee3\u7406\uff08Agent\uff09\u6765\u91c7\u96c6\u6570\u636e\u3002\u8fd9\u4e9b\u4ee3\u7406\u8d1f\u8d23\u6536\u96c6\u6709\u5173\u670d\u52a1\u8c03\u7528\u3001\u6027\u80fd\u6307\u6807\u548c\u65e5\u5fd7\u7684\u4fe1\u606f\u3002<\/p>\n<p>2. <strong>\u6570\u636e\u4f20\u8f93<\/strong>\uff1a\u91c7\u96c6\u5230\u7684\u6570\u636e\u901a\u8fc7HTTP\u6216gRPC\u534f\u8bae\u4f20\u8f93\u5230SkyWalking\u7684\u540e\u7aef\uff08OAP\uff0cObservability Analysis Platform\uff09\u3002<\/p>\n<p>3. <strong>\u5b58\u50a8<\/strong>\uff1aSkyWalking\u652f\u6301\u591a\u79cd\u5b58\u50a8\u9009\u9879\uff0c\u5982Elasticsearch\u3001MySQL\u3001TiDB\u548cH2\u7b49\u3002\u4e00\u65e6\u6570\u636e\u5230\u8fbe\u540e\u7aef\uff0c\u5c31\u4f1a\u88ab\u5b58\u50a8\u4e0b\u6765\u4f9b\u540e\u7eed\u5206\u6790\u3002<\/p>\n<h2>\u4e09\u3001\u6570\u636e\u4e00\u81f4\u6027<\/h2>\n<p>SkyWalking\u901a\u8fc7\u4ee5\u4e0b\u673a\u5236\u786e\u4fdd\u6570\u636e\u7684\u4e00\u81f4\u6027\uff1a<\/p>\n<p>1. <strong>\u552f\u4e00\u6807\u8bc6\u7b26<\/strong>\uff1a\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u4f7f\u7528\u552f\u4e00\u6807\u8bc6\u7b26\uff08\u5982Trace ID\u548cSpan ID\uff09\u6765\u6807\u8bb0\u6bcf\u4e2a\u8bf7\u6c42\u548c\u64cd\u4f5c\uff0c\u786e\u4fdd\u5728\u4e0d\u540c\u670d\u52a1\u548c\u5730\u57df\u95f4\u80fd\u591f\u51c6\u786e\u5173\u8054\u548c\u6392\u5e8f\u3002<\/p>\n<p>2. <strong>\u4e0a\u4e0b\u6587\u4f20\u9012<\/strong>\uff1a\u901a\u8fc7\u5728\u670d\u52a1\u95f4\u4f20\u9012\u4e0a\u4e0b\u6587\u4fe1\u606f\uff0cSkyWalking\u80fd\u591f\u7ef4\u62a4\u5b8c\u6574\u7684\u8c03\u7528\u94fe\uff0c\u4ece\u800c\u4fdd\u8bc1\u6570\u636e\u7684\u4e00\u81f4\u6027\u548c\u51c6\u786e\u6027\u3002<\/p>\n<p>3. <strong>\u6570\u636e\u805a\u5408<\/strong>\uff1a\u5728\u6570\u636e\u5b58\u50a8\u4e4b\u524d\uff0cSkyWalking\u4f1a\u5728\u591a\u4e2a\u5c42\u6b21\u4e0a\u5bf9\u6570\u636e\u8fdb\u884c\u805a\u5408\uff0c\u51cf\u5c11\u6570\u636e\u91cf\u5e76\u63d0\u9ad8\u67e5\u8be2\u6548\u7387\u3002<\/p>\n<p>4. <strong>\u9884\u8ba1\u7b97<\/strong>\uff1aSkyWalking\u4f7f\u7528\u9884\u8ba1\u7b97\u6280\u672f\uff0c\u5728\u6570\u636e\u5230\u8fbe\u65f6\u5373\u8fdb\u884c\u90e8\u5206\u8ba1\u7b97\uff0c\u63d0\u5347\u5927\u89c4\u6a21\u6570\u636e\u67e5\u8be2\u7684\u6027\u80fd\u3002<\/p>\n<h2>\u56db\u3001\u5177\u4f53\u5b9e\u73b0<\/h2>\n<p>1. <strong>\u67b6\u6784\u8bbe\u8ba1<\/strong>\uff1aSkyWalking\u7684\u67b6\u6784\u8bbe\u8ba1\u4f7f\u5f97\u5b83\u80fd\u591f\u5728\u4e0d\u540c\u5730\u57df\u95f4\u9ad8\u6548\u5730\u540c\u6b65\u548c\u5904\u7406\u6570\u636e\u3002\u4f8b\u5982\uff0c\u901a\u8fc7\u5c06Collector\u548cAggregator\u5206\u79bb\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u8fdb\u884c\u6269\u5c55\u548c\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<p>2. <strong>\u63d2\u4ef6\u673a\u5236<\/strong>\uff1aSkyWalking\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63d2\u4ef6\uff0c\u652f\u6301\u5404\u79cd\u6846\u67b6\u548c\u6280\u672f\uff0c\u5982Dubbo\u3001gRPC\u3001JDBC\u3001Spring\u7b49\uff0c\u4f7f\u5f97\u6570\u636e\u91c7\u96c6\u53d8\u5f97\u5bb9\u6613\u4e14\u5bf9\u5e94\u7528\u7684\u4fb5\u5165\u6027\u6781\u5c0f\u3002<\/p>\n<p>3. <strong>\u96c6\u7fa4\u90e8\u7f72<\/strong>\uff1a\u901a\u8fc7\u96c6\u7fa4\u90e8\u7f72\uff0cSkyWalking\u53ef\u4ee5\u5728\u4e0d\u540c\u5730\u57df\u95f4\u5206\u62c5\u6570\u636e\u6d41\u91cf\u548c\u8ba1\u7b97\u538b\u529b\uff0c\u63d0\u9ad8\u6574\u4f53\u7684\u53ef\u7528\u6027\u548c\u6027\u80fd\u3002<\/p>\n<p>SkyWalking\u901a\u8fc7\u5176\u5f3a\u5927\u7684\u5206\u5e03\u5f0f\u8ffd\u8e2a\u548c\u6570\u636e\u5904\u7406\u80fd\u529b\uff0c\u63d0\u4f9b\u4e86\u8de8\u5730\u57df\u7684\u6570\u636e\u540c\u6b65\u548c\u4e00\u81f4\u6027\u4fdd\u969c\u3002\u8fd9\u4f7f\u5f97\u5f00\u53d1\u548c\u8fd0\u7ef4\u56e2\u961f\u80fd\u591f\u5728\u590d\u6742\u7684\u5206\u5e03\u5f0f\u73af\u5883\u4e2d\u6709\u6548\u5730\u76d1\u63a7\u548c\u7ba1\u7406\u5e94\u7528\u6027\u80fd\uff0c\u5feb\u901f\u5b9a\u4f4d\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001SkyWalking\u7b80\u4ecb SkyWalking\u662f\u4e00\u4e2a\u5f00\u6e90\u7684APM\uff08Application Performance Monitoring\uff0c\u5e94\u7528\u6027\u80fd\u76d1\u6d4b\uff09\u7cfb\u7edf\uff0c\u4e13\u4e3a\u5fae\u670d\u52a1\u3001\u4e91\u539f\u751f\u548c\u5bb9\u5668\u5316\u67b6\u6784\u8bbe\u8ba1\u3002\u5b83\u63d0\u4f9b\u4e86\u5206\u5e03\u5f0f\u8ffd\u8e2a\u3001\u670d\u52a1\u62d3\u6251\u5206\u6790\u3001\u6027\u80fd\u6307\u6807\u76d1\u6d4b\u548c\u8bca\u65ad\u80fd\u529b\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u7406\u89e3\u7cfb\u7edf\u884c\u4e3a\u3001\u4f18\u5316\u6027\u80fd\u548c\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u3002 \u4e8c\u3001\u8de8\u5730\u57df\u6570\u636e\u540c\u6b65 SkyWalking\u652f\u6301\u5728\u4e0d\u540c\u5730\u57df\u95f4\u540c\u6b65\u6570\u636e\uff0c\u4f7f\u5f97\u4f4d\u4e8e\u4e0d\u540c\u5730\u7406\u4f4d\u7f6e\u7684\u670d\u52a1\u53ef\u4ee5\u5171\u4eab\u76d1\u63a7\u6570\u636e\u3002\u4ee5\u4e0b\u662f\u5176\u8de8\u5730\u57df\u6570\u636e\u540c\u6b65\u7684\u673a\u5236\uff1a 1. \u6570\u636e\u91c7\u96c6\uff1aSkyWalking\u901a\u8fc7\u5728\u670d\u52a1\u4e2d\u690d\u5165\u4ee3\u7406\uff08Agent\uff09\u6765\u91c7\u96c6\u6570\u636e\u3002\u8fd9\u4e9b\u4ee3\u7406\u8d1f\u8d23\u6536\u96c6\u6709\u5173\u670d\u52a1\u8c03\u7528\u3001\u6027\u80fd\u6307\u6807\u548c\u65e5\u5fd7\u7684\u4fe1\u606f\u3002 2. \u6570\u636e\u4f20\u8f93\uff1a\u91c7\u96c6\u5230\u7684\u6570\u636e\u901a\u8fc7HTTP\u6216gRPC\u534f\u8bae\u4f20\u8f93\u5230SkyWalking\u7684\u540e\u7aef\uff08OAP\uff0cObservability Analysis Platform\uff09\u3002 3. \u5b58\u50a8\uff1aSkyWalking\u652f\u6301\u591a\u79cd\u5b58\u50a8\u9009\u9879\uff0c\u5982Elasticsearch\u3001MySQL\u3001TiDB\u548cH2\u7b49\u3002\u4e00\u65e6\u6570\u636e\u5230\u8fbe\u540e\u7aef\uff0c\u5c31\u4f1a\u88ab\u5b58\u50a8\u4e0b\u6765\u4f9b\u540e\u7eed\u5206\u6790\u3002 \u4e09\u3001\u6570\u636e\u4e00\u81f4\u6027 SkyWalking\u901a\u8fc7\u4ee5\u4e0b\u673a\u5236\u786e\u4fdd\u6570\u636e\u7684\u4e00\u81f4\u6027\uff1a 1. \u552f\u4e00\u6807\u8bc6\u7b26\uff1a\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u4f7f\u7528\u552f\u4e00\u6807\u8bc6\u7b26\uff08\u5982Trace ID\u548cSpan ID\uff09\u6765\u6807\u8bb0\u6bcf\u4e2a\u8bf7\u6c42\u548c\u64cd\u4f5c\uff0c\u786e\u4fdd\u5728\u4e0d\u540c\u670d\u52a1\u548c\u5730\u57df\u95f4\u80fd\u591f\u51c6\u786e\u5173\u8054\u548c\u6392\u5e8f\u3002 2. \u4e0a\u4e0b\u6587\u4f20\u9012\uff1a\u901a\u8fc7\u5728\u670d\u52a1\u95f4\u4f20\u9012\u4e0a\u4e0b\u6587\u4fe1\u606f\uff0cSkyWalking\u80fd\u591f\u7ef4\u62a4\u5b8c\u6574\u7684\u8c03\u7528\u94fe\uff0c\u4ece\u800c\u4fdd\u8bc1\u6570\u636e\u7684\u4e00\u81f4\u6027\u548c\u51c6\u786e\u6027\u3002 3. \u6570\u636e\u805a\u5408\uff1a\u5728\u6570\u636e\u5b58\u50a8\u4e4b\u524d\uff0cSkyWalking\u4f1a\u5728\u591a\u4e2a\u5c42\u6b21\u4e0a\u5bf9\u6570\u636e\u8fdb\u884c\u805a\u5408\uff0c\u51cf\u5c11\u6570\u636e\u91cf\u5e76\u63d0\u9ad8\u67e5\u8be2\u6548\u7387\u3002 4. \u9884\u8ba1\u7b97\uff1aSkyWalking\u4f7f\u7528\u9884\u8ba1\u7b97\u6280\u672f\uff0c\u5728\u6570\u636e\u5230\u8fbe\u65f6\u5373\u8fdb\u884c\u90e8\u5206\u8ba1\u7b97\uff0c\u63d0\u5347\u5927\u89c4\u6a21\u6570\u636e\u67e5\u8be2\u7684\u6027\u80fd\u3002 \u56db\u3001\u5177\u4f53\u5b9e\u73b0 1. \u67b6\u6784\u8bbe\u8ba1\uff1aSkyWalking\u7684\u67b6\u6784\u8bbe\u8ba1\u4f7f\u5f97\u5b83\u80fd\u591f\u5728\u4e0d\u540c\u5730\u57df\u95f4\u9ad8\u6548\u5730\u540c\u6b65\u548c\u5904\u7406\u6570\u636e\u3002\u4f8b\u5982\uff0c\u901a\u8fc7\u5c06Collector\u548cAggregator\u5206\u79bb\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u8fdb\u884c\u6269\u5c55\u548c\u8d1f\u8f7d\u5747\u8861\u3002 2. \u63d2\u4ef6\u673a\u5236\uff1aSkyWalking\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63d2\u4ef6\uff0c\u652f\u6301\u5404\u79cd\u6846\u67b6\u548c\u6280\u672f\uff0c\u5982Dubbo\u3001gRPC\u3001JDBC\u3001Spring\u7b49\uff0c\u4f7f\u5f97\u6570\u636e\u91c7\u96c6\u53d8\u5f97\u5bb9\u6613\u4e14\u5bf9\u5e94\u7528\u7684\u4fb5\u5165\u6027\u6781\u5c0f\u3002 3. \u96c6\u7fa4\u90e8\u7f72\uff1a\u901a\u8fc7\u96c6\u7fa4\u90e8\u7f72\uff0cSkyWalking\u53ef\u4ee5\u5728\u4e0d\u540c\u5730\u57df\u95f4\u5206\u62c5\u6570\u636e\u6d41\u91cf\u548c\u8ba1\u7b97\u538b\u529b\uff0c\u63d0\u9ad8\u6574\u4f53\u7684\u53ef\u7528\u6027\u548c\u6027\u80fd\u3002 SkyWalking\u901a\u8fc7\u5176\u5f3a\u5927\u7684\u5206\u5e03\u5f0f\u8ffd\u8e2a\u548c\u6570\u636e\u5904\u7406\u80fd\u529b\uff0c\u63d0\u4f9b\u4e86\u8de8\u5730\u57df\u7684\u6570\u636e\u540c\u6b65\u548c\u4e00\u81f4\u6027\u4fdd\u969c\u3002\u8fd9\u4f7f\u5f97\u5f00\u53d1\u548c\u8fd0\u7ef4\u56e2\u961f\u80fd\u591f\u5728\u590d\u6742\u7684\u5206\u5e03\u5f0f\u73af\u5883\u4e2d\u6709\u6548\u5730\u76d1\u63a7\u548c\u7ba1\u7406\u5e94\u7528\u6027\u80fd\uff0c\u5feb\u901f\u5b9a\u4f4d\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-38602","post","type-post","status-publish","format-standard","hentry","category-discussion"],"_links":{"self":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/38602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/comments?post=38602"}],"version-history":[{"count":1,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/38602\/revisions"}],"predecessor-version":[{"id":38603,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/38602\/revisions\/38603"}],"wp:attachment":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media?parent=38602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/categories?post=38602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/tags?post=38602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}