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

ActivitySamplingResult

Used by ActivityListener to indicate what amount of data should be collected for this Activity Requesting more data causes greater performance overhead to collect it.
namespace System.Diagnostics { public enum ActivitySamplingResult { None, PropagationData, AllData, AllDataAndRecorded } }