-
Notifications
You must be signed in to change notification settings - Fork 27
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
Zipkin bad json encoding #316
Comments
does it still happen with 4.0? |
not sure, but a fix needs to be applied to 3.x as well as it impacts teams using 3.x |
ok |
@yawkat When I put it through proxy I can see that issue exists: You can also put zipkin url from https://public.requestbin.com/ and you will get something like: |
can you share your example project? |
It is basic project with zipkin from launcher, just change configuration to:
|
HttpStreamsHandler delays writing the first HttpContent to when the request has been fully written. The second HttpContent was not delayed however, so when writing the request took time (apparently with TLS?), the second HttpContent was written before the first. This patch delays all further writes (normal, complete and error) until the first content has been written. Should fix micronaut-projects/micronaut-tracing#316
HttpStreamsHandler delays writing the first HttpContent to when the request has been fully written. The second HttpContent was not delayed however, so when writing the request took time (apparently with TLS?), the second HttpContent was written before the first. This patch delays all further writes (normal, complete and error) until the first content has been written. Should fix micronaut-projects/micronaut-tracing#316
HttpStreamsHandler delays writing the first HttpContent to when the request has been fully written. The second HttpContent was not delayed however, so when writing the request took time (apparently with TLS?), the second HttpContent was written before the first. This patch delays all further writes (normal, complete and error) until the first content has been written. Should fix micronaut-projects/micronaut-tracing#316
Expected Behavior
Spans to be valid json array
Actual Behaviour
Spans array is not properly json encoded
Steps To Reproduce
Environment Information
No response
Example Application
No response
Version
3.9.3
The text was updated successfully, but these errors were encountered: