-
Notifications
You must be signed in to change notification settings - Fork 63
Status is dropped when translating spans to Jaeger TChannel spans #586
Comments
Thanks for reporting @asutoshpalai. /cc @owais |
We should have a fix for this in a few days @asutoshpalai |
@owais Have you started working on this? If not, can I please pick this up? |
@asutoshpalai Yes, I'm almost done with it. Will submit a patch in a couple of days. |
I was going through the code of jaegerproto, it looks like they don't set Ref: census-instrumentation/opencensus-go#1041 I would really appreciate it if @owais can include that in his fix for thrift protocol too. |
One important observation here: the behavior on opencensus-go is not the recommended one for OpenTracing (which Jaeger follows). The error tag should be explictly set by the caller code. I had mentioned this on the opencensus-go repo and this was recently changed on java client library. Relevant link: |
We have a PR for OT here: open-telemetry/opentelemetry-collector#70 Once it is accepted there, I'll back-port the fix to OC. |
We've merged it to OT. Will try to backport here later this week. |
The status field and its message is not added to the spans as tags while translating the spans from the OpenCensus span format to TChannel span format at translator/trace/jaeger/protospan_to_jaegerthrift.go#L148.
This is done correctly in
protospan_to_jaegerproto.go
and Jaeger exporter for OpenCensus.The text was updated successfully, but these errors were encountered: