在之前的go-zero教程里,我们介绍了使用演示工程开发user模块和search模块,为了更直观的呈现请求的生命周期,我们引入:链路追踪,这里我们使用的链路追踪工具是jaeger,如果你想了解更多jaeger的内容,可以参考这里 https://rocdu.gitbook.io/jaeger-doc-zh/getting-started
开发环境
Windows 11
terminal preview
go 1.19
第一步:为Windows环境配置jaeger
从jaeger的官网或https://rocdu.gitbook.io/jaeger-doc-zh/getting-started下载二进制的jaeger的可执行文件,下载完解压到本地文件夹,如:d:/soft/jaeger-1.42.0-windows-amd64
第二步:启动jaeger
打开terminal preview,切换到d:/soft/jaeger-1.42.0-windows-amd64文件夹下,执行下面的命令启动jaeger:
jaeger-all-in-one.exe
TRANSLATE with x English TRANSLATE with COPY THE URL BELOW Back EMBED THE SNIPPET BELOW IN YOUR SITE Enable collaborative features and customize widget: Bing Webmaster Portal Back 标签:jaeger,zero,location,https,链路,go From: https://www.cnblogs.com/jamstack/p/17223884.html