-
Notifications
You must be signed in to change notification settings - Fork 853
Add example for sleuth/brave integration #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Related issue: #164
We are aware of this, unfortunately there is nothing we can do about it. Our requests for adding better documentation have been refused.
No, I will explain it in detail below.
Yes, the dependency is required for sleuth to work in this context.
There are two major problems here:
LogNet's goal trying to be lightweight/server only resulted in the controversial state where sleuth added a support class to their code, that is the part of the core of this library. Sleuth somewhat agrees with us that it shouldn't be (necessary to be a) part of Sleuth. See also this javadoc in the sleuth repo. Sleuth's |
Maybe I should drop a few words in the docs about sleuth/brave-instrumentation-grpc. |
Added a few lines in the upcoming documentation. Does this help you? Ref: #239 |
Other than the above, looks good to me. |
|
Short of a working example, I think what you’ve is an excellent start. |
At this point in time it would make more sense to do tracing with OpenTelemetry, however using the intercepters caused issues for gRPC calls outbound on a |
Could you describe the error in more detail please? |
Could you please provide the github example of your openTelemetry implementation with grpc, jaeger in springboot (client and server). I have tried many examples and nothing seems to work. Its a show stopper now in my project. |
This is a usage question.
In the Sleuth docs for gRPC, they mention two variants. First one uses
io.github.lognet:grpc-spring-boot-starter
andio.zipkin.brave:brave-instrumentation-grpc
and clients must useSpringAwareManagedChannelBuilder
. In the second variant, nothing is said other than "Grpc Spring Boot Starter automatically detects the presence of Spring Cloud Sleuth and brave’s instrumentation for gRPC and registers the necessary client and/or server tooling."There doesn't seem to be any relation between these projects, and are maintained by different people.
yidongnan/grpc-spring-boot-starter
doesn't seem to useSpringAwareManagedChannelBuilder
anywhere. Should it? Also, does it needio.zipkin.brave:brave-instrumentation-grpc
to work?Perhaps the owners of the two projects should discuss merging them. It seems like a waste of time to develop two parallel projects for the same purpose.
The text was updated successfully, but these errors were encountered: