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

Bump webmachine dep. Properly detect histogram type on readpath. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spacejam
Copy link

@spacejam spacejam commented Jan 4, 2016

No description provided.

@@ -90,10 +90,11 @@ resource_exists(Id, ReqData, Context) ->
get_request(undefined, undefined, undefined) ->
folsom_metrics:get_metrics();
get_request(Id, undefined, undefined) ->
case folsom_metrics:get_metric_info(Id) of
[{_, [{type, histogram}]}] ->
MetricInfo = folsom_metrics:get_metric_info(Id),
Copy link
Author

Choose a reason for hiding this comment

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

MetricInfo can look something like this (this is what triggered the issue for me):

[{connect_latency,[{type,histogram},
                   {tags,{set,0,16,16,8,80,48,
                              {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                               []},
                              {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                []}}}}]}]

@joewilliams
Copy link
Contributor

Please fix merge conflicts and I'll merge this PR.

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