-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
When testing #334 I discovered that brave
(or maybe any zipkin instrumentation) can send span with just one binary annotation
{
"traceId":"549d6e48d3a5bfcbe4a4fbc1284ff98b",
"id":"b5e1ead09289b182",
"name":"",
"parentId":"e4a4fbc1284ff98b",
"binaryAnnotations":[
{
"key":"http.status_code",
"value":"200",
"endpoint":{
"serviceName":"spring-boot",
"ipv4":"10.43.17.27"
}
}
]
}
trace: https://paste.fedoraproject.org/paste/4iUxY0cOkfGpz5jQj-K-lA
It results in Cannot find service name in Zipkin span [traceID=e4a4fbc1284ff98b, spanID=b5e1ead09289b182]
https://github.com/uber/jaeger/blob/79fba1278743840dff6b84aa059ec58f7ec21a0a/model/converter/thrift/zipkin/to_domain.go#L161-L182
Reproducer:
https://github.com/pavolloffay/opentracing-java-examples/tree/jaeger-unknown-service-error-and-ui-issues
run spring-boot and curl localhost:8080/chaining
, Note that it's not deterministic.
Metadata
Metadata
Assignees
Labels
No labels