{"id":649,"date":"2023-03-23T21:42:05","date_gmt":"2023-03-23T13:42:05","guid":{"rendered":""},"modified":"2023-03-23T21:42:05","modified_gmt":"2023-03-23T13:42:05","slug":"SpringCloud Zipkin","status":"publish","type":"post","link":"https:\/\/bianchenghao6.com\/649.html","title":{"rendered":"SpringCloud Zipkin"},"content":{"rendered":"


\n <\/head>
\n <\/p>\n

\n

SpringCloud Zipkin<\/h1>\n<\/p><\/div>\n

\u4ec0\u4e48\u662f\u5206\u5e03\u5f0f\u8ddf\u8e2a\uff1f<\/h2>\n
\n \u5206\u5e03\u5f0f\u8ddf\u8e2a\u662f\u4e00\u79cd\u7528\u4e8e
\n profile<\/strong>\u548c
\n monitor <\/strong>\u7684\u6280\u672f\u5e94\u7528\u7a0b\u5e8f\uff0c\u5c24\u5176\u662f\u4f7f\u7528\u5fae\u670d\u52a1\u67b6\u6784\u6784\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5206\u5e03\u5f0f\u8ddf\u8e2a\uff0c\u4e5f\u79f0\u4e3a
\n \u5206\u5e03\u5f0f\u8bf7\u6c42\u8ddf\u8e2a<\/strong>\u3002 IT\u548cDevOps\u56e2\u961f\u53ef\u4ee5\u4f7f\u7528\u5206\u5e03\u5f0f\u8ddf\u8e2a\u6765\u76d1\u89c6\u5e94\u7528\u7a0b\u5e8f\u3002\n <\/div>\n
\n \u5f53\u6709\u8bb8\u591a\u670d\u52a1\u8c03\u7528\u65f6\uff0c\u5b83\u4f1a\u8bc6\u522b
\n \u5931\u8d25<\/strong>\u5fae\u670d\u52a1\u6216\u51fa\u73b0
\n \u6027\u80fd\u95ee\u9898\u7684\u670d\u52a1<\/strong>\u5728\u8bf7\u6c42\u4e2d\u3002\u5f53\u6211\u4eec\u9700\u8981\u8ddf\u8e2a\u901a\u8fc7\u591a\u4e2a\u5fae\u670d\u52a1\u7684\u8bf7\u6c42\u65f6\uff0c\u8fd9\u975e\u5e38\u6709\u7528\u3002\n <\/div>\n
\n \u5728\u4e0a\u4e00\u8282\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u5b89\u88c5\u4e86\u5145\u5f53\u4e2d\u95f4\u4ef6\u7684RabbitMQ\u3002\u5728\u672c\u8282\u4e2d\uff0c\u6211\u4eec\u5c06\u5b9e\u73b0Zipkin\u670d\u52a1\u5668\u4ee5\u8fdb\u884c\u5206\u5e03\u5f0f\u8ddf\u8e2a\u3002\n <\/div>\n

SpringCloud Zipkin_https:\/\/bianchenghao6.com_\u3010SpringCloud \u6559\u7a0b\u3011_\u7b2c1\u5f20 <\/p>\n

\n \u5728\u4e0a\u56fe\u4e2d\uff0cZipkinDistributedTracingServer\u8fde\u63a5\u5230\u5185\u5b58\u6570\u636e\u5e93\u3002\u6240\u6709\u5fae\u670d\u52a1\u90fd\u4f1a\u5c06\u6d88\u606f\u653e\u5165RabbitMQ\u670d\u52a1\u5668\u3002 ZipkinDistributedTracingServer\u4f7f\u7528\u6765\u81eaRabbitMQ\u670d\u52a1\u5668\u7684\u6d88\u606f\u3002\n <\/div>\n
\n \u5728\u672c\u8282\u4e2d\uff0c\u6211\u4eec\u5c06\u91cd\u70b9\u4ecb\u7ecd\u5b89\u88c5ZipkinDistributedTracingServer\u5e76\u5c06\u5176\u4e0eRabbitMQ\u670d\u52a1\u5668\u548c\u5185\u5b58\u6570\u636e\u5e93\u8fde\u63a5\u3002\n <\/div>\n
\n \u8ba9\u6211\u4eec\u4e86\u89e3\u5982\u4f55\u5c06Zipkin\u670d\u52a1\u5668\u8fde\u63a5\u5230\u5176\u4ed6\u670d\u52a1\u5668\u3002\n <\/div>\n
\n \u6b65\u9aa41: <\/strong>\u4e0b\u8f7dZipkin\u670d\u52a1\u5668\u3002\n <\/div>\n
\n \u641c\u7d22
\n Zipkin\u5feb\u901f\u5165\u95e8<\/strong>\u5728Google\u4e0a\u3002\u70b9\u51fb\u94fe\u63a5
\n Quickstart OpenZipkin <\/strong>\u3002\u6211\u4eec\u6709\u4e24\u4e2a\u9009\u9879\u53ef\u4ee5\u5feb\u901f\u542f\u52a8Zipkin\uff0c\u4e00\u4e2a\u662fDocker\uff0c\u53e6\u4e00\u4e2a\u662fJava\u3002\u4f46\u662f\u6211\u4eec\u5c06\u4f7f\u7528Java\u65b9\u6cd5\u3002\n <\/div>\n
\n \u6b65\u9aa42: <\/strong>\u4ece\u4e0b\u8f7d
\n zipkin-server-2.12.9-exec.jar <\/strong>\u6587\u4ef6=\"https:\/\/search.maven.org\/remote_content?g=io.zipkin&a=zipkinserver&v=LATEST&c=exec\" target =\"_blank\"> https:\/\/search.maven.org\/remote_content?g=io.zipkin&a= zipkinserver\uff06v = LATEST\uff06c = exec \u3002\n <\/div>\n
\n \u6b65\u9aa43: <\/strong>\u590d\u5236JAR\u6587\u4ef6\u5e76\u5c06\u5176\u7c98\u8d34\u5230\u4efb\u4f55\u6587\u4ef6\u5939\u6216\u9a71\u52a8\u5668\u4e2d\u3002\u6211\u4eec\u5df2\u5c06JAR\u6587\u4ef6\u76f4\u63a5\u7c98\u8d34\u5230
\n C\u9a71\u52a8\u5668<\/strong>\u4e2d\u3002\n <\/div>\n
\n \u6b65\u9aa44: <\/strong>\u6253\u5f00
\n \u547d\u4ee4\u63d0\u793a\u7b26<\/strong>\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n
\n
\r\nC:\\> java -jar zipkin-server-2.12.9-exec.jar\r\n<\/pre>\n

<\/code>\n <\/div>\n

\n \u8be5\u547d\u4ee4\u542f\u52a8Zipkin\u670d\u52a1\u5668\u3002\n <\/div>\n

SpringCloud Zipkin_https:\/\/bianchenghao6.com_\u3010SpringCloud \u6559\u7a0b\u3011_\u7b2c2\u5f20 <\/p>\n

\n \u8ba9\u6211\u4eec\u68c0\u67e5Zipkin\u670d\u52a1\u5668\u662f\u5426\u6b63\u5728\u8fd0\u884c\u3002\n <\/div>\n
\n \u6b65\u9aa45: <\/strong>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u7136\u540e\u8f93\u5165 http:\/\/localhost:9411\/zipkin\/\u3002\u5b83\u663e\u793a\u4e86Zipkin\u670d\u52a1\u5668\u7684\u4eea\u8868\u677f\u3002\u6b64\u5904\uff0c\u7aef\u53e3
\n 9411 <\/strong>\u662fZipkin\u670d\u52a1\u5668\u7684\u9ed8\u8ba4\u7aef\u53e3\u3002\n <\/div>\n

SpringCloud Zipkin_https:\/\/bianchenghao6.com_\u3010SpringCloud \u6559\u7a0b\u3011_\u7b2c3\u5f20 <\/p>\n

\n \u6b64\u5904\uff0c\u6700\u91cd\u8981\u7684\u662fZipkin\u670d\u52a1\u5668\u5fc5\u987b\u4fa6\u542cRabbitMQ\u670d\u52a1\u5668\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u5fc5\u987b\u5728\u540e\u53f0\u542f\u52a8RabbitMQ\u670d\u52a1\u5668\u3002\n <\/div>\n
\n \u6b65\u9aa46: <\/strong>\u901a\u8fc7\u6309
\n Ctrl + c\u952e\u6740\u6b7bKipkin\u670d\u52a1\u5668\u3002<\/strong>\n <\/div>\n
\n \u6b65\u9aa47: <\/strong>\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4:\n <\/div>\n
\n
\r\nC:\\>SET RABBIT_URI=amqp:\/\/localhost\r\nC:\\> java -jar zipkin-server-2.12.9-exec.jar\r\n<\/pre>\n

<\/code>\n <\/div>\n

\n \u547d\u4ee4\u518d\u6b21\u4e0eRabbitMQ\u670d\u52a1\u5668\u4e00\u8d77\u542f\u52a8Zipkin\u670d\u52a1\u5668\u3002\n <\/div>\n

SpringCloud Zipkin_https:\/\/bianchenghao6.com_\u3010SpringCloud \u6559\u7a0b\u3011_\u7b2c4\u5f20 <\/p>\n

\n \u5728\u672c\u8282\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u5b89\u88c5\u4e86Zipkin\u670d\u52a1\u5668\u3002\u6211\u4eec\u8fd8\u542f\u52a8\u4e86RabbitMQ\u670d\u52a1\u5668\uff0c\u5e76\u5c06\u5176\u8fde\u63a5\u5230Zipkin\u670d\u52a1\u5668\u3002\u73b0\u5728\uff0cZipkin\u670d\u52a1\u5668\u6b63\u5728\u901a\u8fc7RabbitMQ\u670d\u52a1\u5668\u8fdb\u884c\u4fa6\u542c\u3002\u4f46\u662f\u5fae\u670d\u52a1\u4e0d\u4f1a\u5c06\u8ddf\u8e2a\u6d88\u606f\u653e\u5165RabbitMQ\u3002\n <\/div>\n
\n \u4e0b\u4e00\u6b65\uff0c\u6211\u4eec\u5c06\u5f00\u59cb\u5c06\u8ddf\u8e2a\u6d88\u606f\u653e\u5165RabbitMQ\u3002\n <\/div>\n

<\/body>
\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"SpringCloud Zipkinzh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[],"class_list":["post-649","post","type-post","status-publish","format-standard","hentry","category-bc_springcloud_jc"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/649"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=649"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/649\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}