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

refactor: remove duplicate code for incrementing counters #981

Closed
wants to merge 3 commits into from
Closed

refactor: remove duplicate code for incrementing counters #981

wants to merge 3 commits into from

Conversation

56quarters
Copy link

Delegate to count method and use glob import for metric traits

@56quarters 56quarters changed the title fix: remove duplicate code for incrementing counters refactor: remove duplicate code for incrementing counters Jan 26, 2021
Copy link
Member

@jrconlin jrconlin left a comment

Choose a reason for hiding this comment

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

Hi!
Thanks for this. It looks good, with one style nit.

src/server/metrics.rs Outdated Show resolved Hide resolved
@56quarters 56quarters requested a review from jrconlin January 26, 2021 17:12
jrconlin
jrconlin previously approved these changes Jan 26, 2021
@56quarters
Copy link
Author

Working on fixing commit signing. Sorry about that.

@jrconlin
Copy link
Member

Sigh...
For security reasons, we need to have every commit associated with the PR signed. The original commit was not.

My apologies, but could you either rebase this PR to a signed commit or resubmit with all the commits signed? If this is too annoying, let me know and I'll resubmit for you, (with appropriate credit).

Sorry for the hassle.

@jrconlin
Copy link
Member

jrconlin commented Jan 26, 2021 via email

56quarters and others added 3 commits January 26, 2021 14:37
Delegate to count method and use glob import for metric traits
@56quarters 56quarters marked this pull request as draft January 26, 2021 19:59
@jrconlin jrconlin marked this pull request as ready for review January 26, 2021 20:36
jrconlin added a commit that referenced this pull request Jan 26, 2021
From @56quarters in #981

Delegate to count method and use glob import for metric traits

(resubmitting due to github commit signature issues -- jrc)
@jrconlin
Copy link
Member

@56quarters Just in case you don't want to deal with github being annoying, I resubmitted your patch in #983.

Feel free to review, comment, and point out what I may have gotten wrong.

@56quarters
Copy link
Author

Closed in favor of #983

@56quarters 56quarters closed this Jan 27, 2021
jrconlin added a commit that referenced this pull request Jan 27, 2021
From @56quarters in #981

Delegate to count method and use glob import for metric traits

(resubmitting due to github commit signature issues -- jrc)
jrconlin added a commit that referenced this pull request Jan 27, 2021
From @56quarters in #981

Delegate to count method and use glob import for metric traits

(resubmitting due to github commit signature issues -- jrc)
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.

2 participants