CocaineCong / tangseng

Tangseng search engine including full text search and vector search base on golang. 基于go语言的搜索引擎,信息检索系统
https://cocainecong.github.io/tangseng/
Apache License 2.0
111 stars 29 forks source link

Feature:add Jaeger to provide distributed tracing #65

Closed lyt122 closed 7 months ago

lyt122 commented 8 months ago

To finish the issue https://github.com/CocaineCong/tangseng/issues/54. This uses a tracer for the go part of tangseng with the opentelemetry.

CocaineCong commented 8 months ago

BTW, same the problem with https://github.com/CocaineCong/tangseng/pull/26

CocaineCong commented 8 months ago

have u tested the code ? or can u post the result or something else about your test ?

lyt122 commented 8 months ago

have u tested the code ? or can u post the result or something else about your test ?

when you run the project and make a request, you can go to localhost:16686 to see the results.

CocaineCong commented 7 months ago

have u tested the code ? or can u post the result or something else about your test ?

when you run the project and make a request, you can go to localhost:16686 to see the results.

I mean where is trace id ?

lyt122 commented 7 months ago

have u tested the code ? or can u post the result or something else about your test ?

when you run the project and make a request, you can go to localhost:16686 to see the results.

I mean where is trace id ?

trace id is in the context. when a grpc/http request started, a span will be generated,this span has a trace id

CocaineCong commented 7 months ago

have u tested the code ? or can u post the result or something else about your test ?

when you run the project and make a request, you can go to localhost:16686 to see the results.

I mean where is trace id ?

trace id is in the context. when a grpc/http request started, a span will be generated,this span has a trace id

why no return trace id in response body ? that is reason why I say the same problem with https://github.com/CocaineCong/tangseng/pull/26