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

Add checkbox to XEvents to allow for turning on “TRACK_CAUSALITY” #173

Open
gambit9009 opened this issue May 26, 2022 · 0 comments
Open

Comments

@gambit9009
Copy link
Contributor

A checked box would just need to add "TRACK_CAUSALITY=ON" at the end of the Create Event Session.
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-event-session-transact-sql?view=sql-server-ver16#track_causality---on--off-

Adds 2 columns to every event, named attach_activity_id.guid and attach_activity_id.seq. Helps in filtering result set.

Need to confirm what versions this started working in and don't turn it on if this...
FIX: TRACK_CAUSALITY causes access violations for batch completed event or RPC completed event in SQL Server 2014 (microsoft.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant