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

fix prometheus concurrent map write bug #5706

Merged
merged 2 commits into from
Oct 31, 2018
Merged

fix prometheus concurrent map write bug #5706

merged 2 commits into from
Oct 31, 2018

Conversation

Stebalien
Copy link
Member

fixes #4132

fixes #4132

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
@ghost ghost assigned Stebalien Oct 30, 2018
@ghost ghost added the status/in-progress In progress label Oct 30, 2018
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
@Stebalien
Copy link
Member Author

Looking at the prometheus output, the only thing that's changed is that we're now tracking request seconds instead of microseconds. This is inline with all of the other latencies we're tracking so I'm inclined to keep it this way.

Copy link
Contributor

@schomatis schomatis left a comment

Choose a reason for hiding this comment

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

LGTM, not a Prometheus expert but the patch does make sense compared to the original in client_golang/prometheus/http.go.

@Stebalien
Copy link
Member Author

Merging as I think we'll want this anyways (although there was yet another crash on the gateway that hopefully isn't Prometheus related).

@Stebalien Stebalien merged commit 0d56a48 into master Oct 31, 2018
@ghost ghost removed the status/in-progress In progress label Oct 31, 2018
@Stebalien Stebalien deleted the fix/4132 branch October 31, 2018 15:01
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.

Concurrency-related crashes from Prometheus client
2 participants