<PackageReference Include="System.Threading.RateLimiting" Version="11.0.0-preview.2.26159.112" />

System.Threading.RateLimiting.RateLimiterStatistics

public class RateLimiterStatistics
Snapshot of statistics for a RateLimiter.
public long CurrentAvailablePermits { get; set; }

Gets the number of permits currently available for the RateLimiter.

public long CurrentQueuedCount { get; set; }

Gets the number of queued permits for the RateLimiter.

public long TotalFailedLeases { get; set; }

Gets the total number of failed RateLimitLeases returned.

public long TotalSuccessfulLeases { get; set; }

Gets the total number of successful RateLimitLeases returned.

Initializes an instance of RateLimiterStatistics.