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
I want to be able to add span links to already created spans. This ability was recently added to System.Diagnostics.Activity (see AddLinks method)
What is the expected behavior?
Add 'AddLinks' method to TelemetrySpan
Which alternative solutions or features have you considered?
Right now I use a Activity directly, but would like to use the shim
E.g.
// todo: replace with shim implementation as soon as AddLink is available Activity currentActivity = Activity.Current!; currentActivity.AddLink(new ActivityLink(span.Context));