<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.0-preview.5.24306.7" />

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 } }