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
Documentation should mention tracing.instrument-threads
#2307
Comments
It was enabled in a previous version, but we encountered issues with open tracing. See #2126 and micronaut-projects/micronaut-gcp#15 If you are able to find a way to make it work with |
That's strange, looking into code I would suggest an improvement to use We are using tracing with zipkin publishing and new brave without problems, I have also disabled health spans sampling using new brave api. |
Maybe that would work, I must admit it is very hard getting something working for both Brave/zipkin and OpenTracing/jaeger that works consistently for both. I think |
Hey @graemerocher - we just hit something related to this I think our use case is pretty simple. We have a service (service a) which exposes a http server controller applies some logic and as part of its processing calls another service (service b) using the micronaut http client. The other service (service b) receives the request, does some processing returns a success and or failure to the client (service a) which in turn completes its logic and returns to the initial caller. In our case - latency is of the highest importance so we have pretty extensive instrumentation and testing to find bottlenecks through our code. For tracing we use OpenTracing/Jaeger and we have We recently "yolo upgraded" from micronaut However, before running around enabling it on all our services we're kean to understand how it works and the drawbacks / what work is outstanding - we may be able to help. I've been through the majority of the issue's mentioned above and they are all closed (and/or fixed) - is it fair to assume we can enable this without issue now? And perhaps set it's default to Thanks 👍 |
In general thread based instrumentation can lead to leaking data in a reactive context which may be unsafe, hence why it is disabled by default. |
Please consider to enable it by default in the next major version, with all kind of thread pools tracing is not much useful without it.
The text was updated successfully, but these errors were encountered: