Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RateLimiting] Add statistics API #72306

Merged
merged 4 commits into from
Aug 12, 2022
Merged

Conversation

BrennanConroy
Copy link
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
Copy link

ghost commented Jul 16, 2022

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

@dotnet-issue-labeler
Copy link

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