Microsoft.ApplicationInsights.Profiler.Core by Microsoft

<PackageReference Include="Microsoft.ApplicationInsights.Profiler.Core" Version="2.3.1" />

 UserConfiguration

public class UserConfiguration
public bool AllowsCrash { get; set; }

public int BufferSizeInMB { get; set; }

public float CPUTriggerThreshold { get; set; }

public TimeSpan Duration { get; set; }

public string Endpoint { get; set; }

public TimeSpan InitialDelay { get; set; }

public bool IsDisabled { get; set; }

public bool IsSkipCompatibilityTest { get; set; }

public string LocalCacheFolder { get; set; }

public float MemoryTriggerThreshold { get; set; }

public NamedPipeOptions NamedPipe { get; set; }

public bool PreserveTraceFile { get; set; }

public bool ProvideAnonymousTelemetry { get; set; }

public float RandomProfilingOverhead { get; set; }

public bool SkipEndpointCertificateValidation { get; set; }

public bool SkipUpload { get; set; }

public bool StandaloneMode { get; set; }

public UploadMode UploadMode { get; set; }