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

Add "is_primary" tag to show the ratelimiter type that's currently in use #6170

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

Groxx
Copy link
Contributor

@Groxx Groxx commented Jul 17, 2024

At the moment it's hard to build monitoring on top of things, because there isn't an easy way to see when a request is rejected in the "real" ratelimiter, vs one that's simply shadowing.

… use

At the moment it's hard to build monitoring on top of things, because there isn't an easy way to see when a request is rejected in the "real" ratelimiter, vs one that's simply shadowing.
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.67%. Comparing base (8664922) to head (5ae4102).

Additional details and impacted files
Files Coverage Δ
common/quotas/global/collection/collection.go 83.93% <100.00%> (+1.25%) ⬆️

... and 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8664922...5ae4102. Read the comment docs.

Copy link
Contributor

@3vilhamster 3vilhamster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve with a nit

common/quotas/global/collection/collection.go Outdated Show resolved Hide resolved
@Groxx Groxx enabled auto-merge (squash) July 17, 2024 19:49
@Groxx Groxx merged commit 8dde72e into uber:master Jul 17, 2024
18 checks passed
@Groxx Groxx deleted the ratelimiter-metrics branch July 17, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants