Describe the bug
OpenTelemetrySpanImpl.setStatus(io.opencensus.trace.Status) in opencensus-shim maps only the status code (OK/ERROR) and ignores Status.getDescription(). An OpenCensus status such as Status.UNKNOWN.withDescription("connection refused") reaches OpenTelemetry exporters as an ERROR with no description, so the error reason is lost.
Steps to reproduce
Set an OpenCensus span status that carries a description through the shim, then inspect the exported OpenTelemetry span status.
What did you expect to see?
The OpenCensus status description preserved on the OpenTelemetry span status.
Additional context
The sibling overload setStatus(StatusCode, String) already forwards a description to the OpenTelemetry span; only the OpenCensus conversion path discards it. opencensus-shim is an alpha migration bridge.
Describe the bug
OpenTelemetrySpanImpl.setStatus(io.opencensus.trace.Status)inopencensus-shimmaps only the status code (OK/ERROR) and ignoresStatus.getDescription(). An OpenCensus status such asStatus.UNKNOWN.withDescription("connection refused")reaches OpenTelemetry exporters as anERRORwith no description, so the error reason is lost.Steps to reproduce
Set an OpenCensus span status that carries a description through the shim, then inspect the exported OpenTelemetry span status.
What did you expect to see?
The OpenCensus status description preserved on the OpenTelemetry span status.
Additional context
The sibling overload
setStatus(StatusCode, String)already forwards a description to the OpenTelemetry span; only the OpenCensus conversion path discards it.opencensus-shimis an alpha migration bridge.