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

client/metrics: fixed bad metrics #5541

Merged
merged 1 commit into from
Apr 22, 2019
Merged

Conversation

cgbaker
Copy link
Contributor

@cgbaker cgbaker commented Apr 10, 2019

resolves #5540: modified metrics calculation to use (updated) client copy of the allocation instead of (un-updated) server copy

@cgbaker cgbaker requested a review from schmichael April 10, 2019 19:04
Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

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

Oof I hate how subtle this is. Great catch. If you have an ideas on avoiding issues like this in the future I'm all ears!

@cgbaker cgbaker force-pushed the b/5540-bad-client-alloc-metrics branch 2 times, most recently from c8b3761 to d0021cd Compare April 19, 2019 21:42
@cgbaker cgbaker force-pushed the b/5540-bad-client-alloc-metrics branch from d0021cd to 7d8fa4c Compare April 22, 2019 18:33
@cgbaker
Copy link
Contributor Author

cgbaker commented Apr 22, 2019

test to follow in another PR after dealing with some changes in go-metrics library

@cgbaker cgbaker marked this pull request as ready for review April 22, 2019 18:34
@cgbaker cgbaker merged commit 7b4ac71 into master Apr 22, 2019
@cgbaker cgbaker deleted the b/5540-bad-client-alloc-metrics branch May 9, 2019 12:24
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v0.9.0 - Nomad Metrics seems to be broken for AllocClientStatusPending
2 participants