You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Status is exported directly from the trace module, I don't see any reason to not export StatusCode as well. Most of the time people would want to use Status is to set a status on a span so they'd also need StatusCode.
We should either remove Status from trace module and have users import both Status and StatusCode from opentelemetry.trace.status or make both available from the trace module. Don't have a strong preference.
Should StatusCode be exported by default? E.g. I would like to do the following
But
trace.StatusCode
is not available and should be imported separatelyIs it intentional?
The text was updated successfully, but these errors were encountered: