A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/xinliangnote/go-jaeger-demo below:

xinliangnote/go-jaeger-demo: go jaeger 链路追踪,实现了5个服务调用的链路,支持 gRPC 和 HTTP。

这是一个 Jaeger 链路追踪的 Demo,里面包括 5 个 Service 端,如图所示:

API 端为: go-gin-api

5 个 Service 端 Demo 分别是:

其中服务之间又相互调用:

咱们要实现就是 API 调用 5 个服务的链路,以及服务与服务之间相互调用的链路。

下载地址:https://www.jaegertracing.io/download/

我的电脑是 macOS 选择 -> Binaries -> macOS

下载后并解压,会发现以下文件:

进入到解压后的目录执行:

目测启动后,访问地址:http://localhost:16686/

看到下图,表示启动成功。

// 启动 Listen 服务
cd listen && go run main.go

// 启动 Speak 服务
cd speak && go run main.go

// 启动 Read 服务
cd read && go run main.go

// 启动 Write 服务
cd write && go run main.go

// 启动 Sing 服务
cd sing && go run main.go
// 启用 go-gin-api 服务
cd go-gin-api && go run main.go

访问 API 项目:http://127.0.0.1:9999/jaeger_test

🌟 关注微信公众号「新亮笔记」


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4