-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Bug]: Zipkin json binaryAnnotation value : cannot unmarshall #5434
Comments
Which port are you sending this to? Which http headers are sent? |
@yurishkuro I am using 9411 port, and I have used this command to check the same with the output. Please find the same This was the response that I got : |
You are using the old Zipkin JSON format, in v2 I don't think they have "binary annotations" anymore. In v1.53 we removed Jaeger's internal implementation of Zipkin endpoint and started using one from OTEL (#5045). The tests there showed that both v1 and v2 formats were still accepted, but perhaps we don't have full coverage (for bool attr). In any case, this is not something we can fix in Jaeger anymore. If it's a bug in the OTEL receiver it needs to be fixed there. |
What happened?
While posting the zipkin json to the collector, it runs into error with this output of failing to deserialize with this :
cannot unmarshal bool into Go struct field binaryAnnotation.binaryAnnotations.value of type string
Steps to reproduce
The following json fails to deserialize with this error :
cannot unmarshal bool into Go struct field binaryAnnotation.binaryAnnotations.value of type string
With the latest version of jaeger, we are running into this error. It was working with Jaeger v1.51.0
Expected behavior
The deserialization should be done without error.
Relevant log output
json: cannot unmarshal bool into Go struct field binaryAnnotation.binaryAnnotations.value of type string
Screenshot
No response
Additional context
No response
Jaeger backend version
v1.56.0
SDK
No response
Pipeline
No response
Stogage backend
No response
Operating system
Linux
Deployment model
docker
Deployment configs
No response
The text was updated successfully, but these errors were encountered: