Open samsp-msft opened 2 months ago
One possible but non-obvious thing I experienced personally is stopping a span from being recorded after the sampling decision. The context for this scenario (and example code to solve it) is in this comment. Potentially, this would be useful as an extension method for Activity
.
As a follow-up on my Java extension comments from the .NET SIG, the "zero code" instrumentation does have a plugin interface. It's not as complete as what's available in Java but useful to mention.