-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTLP: Span.Status is not populated from Activity.Status #2503
Comments
Confirmed this is an issue. The reason is that Prior to 6.0, .NET did not support SetStatus, so the OpenTelemetry .NET project supplies an extension method. See:
We need to support the newly introduced official In case you need an immediate workaround, you can use the extension method by declaring |
Related to this: #2064 |
Closing as duplicate, as this is tracked in #2569 |
Bug Report
List of NuGet packages and
version that you are using (e.g.
OpenTelemetry 1.0.2
):Runtime version (e.g.
net461
,net48
,netcoreapp3.1
,net5.0
etc. You canfind this information from the
*.csproj
file):net5.0
Symptom
Activity.SetStatus is not propagated into Span.Status.
What is the expected behavior?
Span.Status contains information from Activity (success/failure + [optional] message)
What is the actual behavior?
Span.Status is always null
The text was updated successfully, but these errors were encountered: