This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 231
It is possible to report invalid spans (endpoint.serviceName == null) #45
Comments
The workaround I'm using now is the following in Span.java
|
Would #46 fix it? Or is this for some other endpoint, e.g. when not setting |
I don't think it should be required to assign peer.serviceName, btw.. if
that's empty, then just don't log a binary annotation. If it is required,
then probably docs would help (ex. if using jersey client.. add X here or
else things will break)
Regardless, I'll try latest and get back to you more specifically. maybe
this is a different issue.
|
I agree, |
released as 0.8.1 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In zipkin's thrift, Endpoint.serviceName is not an optional field. Conventionally, some set this to empty, but not serializing it is a mistake. I noticed this when using the jersey client, which might hint there's a bug there (as I did specify a serviceName).
This should be enforced in unit tests or similar as otherwise the only way to know is after it reaches zipkin.
The text was updated successfully, but these errors were encountered: