Skip to content
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

ActivityIds missing from database profiler #5107

Open
timmac-qmc opened this issue Dec 16, 2024 · 1 comment
Open

ActivityIds missing from database profiler #5107

timmac-qmc opened this issue Dec 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@timmac-qmc
Copy link

Description

Raising this issue as recommended here https://developercommunity.visualstudio.com/t/Database-Profiler-is-completely-broken-1/10771227#T-ND10813008

".NET itself - both the VS profiling tools (the database tool in this case) and dotnet-trace end up being unable to collect ActivityIds for the Stop events despite them being marked as Activity events in both scenarios, making us unable to correlate the query start and stop events together when opening these files in Visual Studio."

Configuration

  • Visual Studio 17.12.3 & .Net 9.0
  • Windows 24H2
  • x64

Regression?

Unknown

Other information

Relevant information provided in the linked bug report: https://developercommunity.visualstudio.com/t/Database-Profiler-is-completely-broken-1/10771227#T-ND10813008

@timmac-qmc timmac-qmc added the bug Something isn't working label Dec 16, 2024
@mdh1418
Copy link
Member

mdh1418 commented Dec 23, 2024

Hi @timmac-qmc, to clarify, are you emitting these Activity2Start/Stop events from your program? Do you happen to have a simple repro that demonstrates the ActivtyId missing from the Activity2Stop event when collecting a trace with dotnet-trace?

I'm not very familiar with the Activity events, do you know if the ActivityId is present in the Activity2Stop events when using .NET 8.0 or any prior version of .NET?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants