Open
Description
Is your feature request related to a problem? Please describe.
When using WithSpan annotation, if there is an exception thrown, the annotation has set the "otel.status_code", but it didn't set the "otel.status_description".
This is important, because the enduser would like to know what cause the error.
Describe the solution you'd like
Set "otel.status_description" when otel.status_code is set as ERROR.
Describe alternatives you've considered
I didn't find the specification about how to give status description. But I see .NET has this, and my commercial endpoint also ask this attributes.
Additional context
#6525
I am able to set up a server and a client, and a local collector, saw the detailed span output. Status message :
is empty.