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

Add support for summaries #2

Merged
merged 2 commits into from
Nov 8, 2013
Merged

Add support for summaries #2

merged 2 commits into from
Nov 8, 2013

Conversation

grobie
Copy link
Member

@grobie grobie commented Nov 6, 2013

This change adds supports for summaries, which accumlate sample values
and return a set of quantile values (0.5, 0.9, 0.99). A couple of
changes and cleanup were necessary, as Summaries are more complex values
than a simpler counter or gauge.

@porras / @matttproud: Couldn't sleep in the plane, so I went ahead :) You might also want to have a look at the output of the updated included example rack app: https://gist.github.com/grobie/7331513

@grobie
Copy link
Member Author

grobie commented Nov 6, 2013

Depends mainly on a new release of the quantile gem based on this pull request matttproud/ruby_quantile_estimation#4.

counter.increment(service: 'foo')

# increment by a given value
counter.increment({}, 5)

Choose a reason for hiding this comment

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

Wouldn't it be more clear to include a label specification in this one?

This change adds supports for summaries, which accumlate sample values
and return a set of quantile values (0.5, 0.9, 0.99). A couple of
changes and cleanup were necessary, as Summaries are more complex values
than a simpler counter or gauge.
@grobie grobie merged commit 25e8816 into master Nov 8, 2013
@grobie grobie deleted the summary-support branch November 8, 2013 10:13
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