┌────────────────┐ http call ┌───────────────────────────┐ rpc call ┌───────────────┐
│ ├─────────────────┤ ├────────────────►│ │
│ Hertz-Client │ │ Hertz-Server/Kitex-Client │ │ Kitex-Server │
│ │◄────────────────┤ │◄────────────────┤ │
└────────────────┘ └───────────────────────────┘ └───────────────┘
- install docker
- run jaeger all-in-one
sh jaeger_run.sh
- run Kitex server
sh kitex_server_run.sh
- open another terminal and run Hertz server
sh hertz_server_run.sh
- open another terminal and run Hertz client
sh hertz_client_run.sh
You can then navigate to http://localhost:16686 to access the Jaeger UI. (You can visit Monitor Jaeger for details)
For more information about hertz tracer, please click tracer