This is example how to use jaeger (typo '__') to trace between services. Since most of the examples on the internet already outdated (deprecated jaeger client or deprecated opentracing library).
docker-compose up -d
# http example
go run main.go httpA
curl -v localhost:3000
# grpc example
go run main.go grpcB
grpcurl -plaintext 127.0.0.1:3001 list
grpcurl -plaintext -d '{"name":"BBB"}' 127.0.0.1:3001 GrpcB.GetSomething
# nats example, will publish a message when server start
go run main.go natsC
open localhost:16686 to see the trace.
- log all request and response payload
- thetooth - fixing NATS traceID/spanID problem