<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="7.0.2" />

ActivitySamplingResult

Enumeration values used by ActivityListener to indicate the amount of data to collect for the related Activity. Requesting more data causes a greater performance overhead.
namespace System.Diagnostics { public enum ActivitySamplingResult { None, PropagationData, AllData, AllDataAndRecorded } }