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
{{ message }}
Repository navigation
System.Diagnostics.Activity out of proc monitoring can't access Activity Events or Links #102924
DiagnosticSourceEventSource supports an argument FilterAndPayloadSpecs which can be used to configure the events and payload which will be written to the source. Example:
Tags=TagObjects.*Enumerate; works for retrieving tags.
But this...
Events=Events.*Enumerate;Links=Links.*Enumerate;
...won't work for retrieving Events and/or Links.
The reason it doesn't work is ActivityEvent and ActivityLinkstructs don't provide a suitable ToString implementation which is how the data gets serialized:
The solution could be to implement more useful ToString operations or provide some other way to include that data via the FilterAndPayloadSpecs. ToString could be tricky for ActivityEvent because it contains its own tag collection.
Activity
dotnet-policy-service commentedon May 31, 2024
Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon May 31, 2024
Tagging subscribers to this area: @dotnet/area-system-diagnostics-activity
See info in area-owners.md if you want to be subscribed.