Skip to content

[RateLimiting] Add statistics API - #72306

Merged
BrennanConroy merged 4 commits into
dotnet:mainfrom
BrennanConroy:brecon/stats
Aug 12, 2022
Merged

BrennanConroy merged 4 commits into
dotnet:mainfrom
BrennanConroy:brecon/stats

Conversation

@BrennanConroy

Copy link
Copy Markdown
Member

Closes #71804

I could be convinced that the chained rate limiter should use the largest queue count instead of the smallest.

Also, the NoopLimiter could technically keep track of the successful leases and update the stats for that property.

@ghost

ghost commented Jul 16, 2022

Copy link
Copy Markdown

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

Issue Details

Closes #71804

I could be convinced that the chained rate limiter should use the largest queue count instead of the smallest.

Also, the NoopLimiter could technically keep track of the successful leases and update the stats for that property.

Author: BrennanConroy
Assignees: -
Labels:

area-System.Threading

Milestone: -

@ghost

ghost commented Jul 16, 2022

Copy link
Copy Markdown

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@ghost ghost assigned BrennanConroy Jul 16, 2022
@BrennanConroy
BrennanConroy merged commit e055449 into dotnet:main Aug 12, 2022
@BrennanConroy
BrennanConroy deleted the brecon/stats branch August 12, 2022 17:56
@BrennanConroy BrennanConroy added this to the 7.0.0 milestone Aug 12, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[API Proposal]: Improve RateLimiter metrics

4 participants