-
Notifications
You must be signed in to change notification settings - Fork 773
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
Start Root Span Collects Current Active Span as Parent #2803
Comments
Anyone? |
Yes, this might be a bug. I created a test #2878 that I think models your situation. |
@alanwest Yes this is the exact case, thanks. How can I know if the test passes? |
We'll leave this issue open as I'm not yet sure what the best fix will be. In my opinion, the problem is due in part to the behavior of the I'll raise this issue for discussion in the .NET SIG meeting agenda next week. In the meantime, a work around for you may be to set Turns out there's another issue already tracking the underlying issue #984. Looks like there was discussion to follow up with the runtime team, but not sure if that happened or not. |
@alanwest Thanks for the update.
Thanks. |
We discussed in this week's SIG meeting fixing this for the Separately, I just opened dotnet/runtime#65528 to address #984. |
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):Symptom
I defined simple Api endpoint with the following code:
What is the expected behavior?
I'm expecting to see two different traces:
CreateRootSpan
and activated withWithSpan
method.What is the actual behavior?
One trace with all span see attached image.
Additional Context
Image with trace at Jaeger:
Thanks for the help.
The text was updated successfully, but these errors were encountered: