- Notifications
You must be signed in to change notification settings - Fork1k
chore: drop github per user rate limit tracking#12286
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -12,8 +12,8 @@ coderd_oauth2_external_requests_rate_limit_reset_in_seconds{name="primary-github | ||
coderd_oauth2_external_requests_rate_limit_reset_in_seconds{name="secondary-github",resource="core"} 121.82186601 | ||
# HELP coderd_oauth2_external_requests_rate_limit_total The total number of allowed requests per interval. | ||
# TYPE coderd_oauth2_external_requests_rate_limit_total gauge | ||
coderd_oauth2_external_requests_rate_limit_total{name="primary-github",resource="core-unauthorized"} 5000 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Should this be 60 instead of 5000? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. It should be, but it's only used to generate docs. The values are ignored, but the labels are included. https://coder.com/docs/v2/latest/admin/prometheus#prometheus-configuration There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. So it is fine | ||
coderd_oauth2_external_requests_rate_limit_total{name="secondary-github",resource="core-unauthorized"} 5000 | ||
# HELP coderd_oauth2_external_requests_rate_limit_used The number of requests made in this interval. | ||
# TYPE coderd_oauth2_external_requests_rate_limit_used gauge | ||
coderd_oauth2_external_requests_rate_limit_used{name="primary-github",resource="core"} 148 | ||