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

Queue occupancy histogram #912

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dtnaylor
Copy link
Contributor

Adds a histogram to the queue module which can be enabled to track statistics about queue occupancy.

Changes the semantics of num_buckets() to match the num_buckets
constructor argument. Setting num_buckets assumed the user did not
include the +1 bucket for above_range; getting num_buckets() did include
the above_range bucket.
@@ -243,22 +243,11 @@ message MeasureCommandGetSummaryArg {
* may not be a multiple of the resolution.
*/
message MeasureCommandGetSummaryResponse {
Copy link
Member

Choose a reason for hiding this comment

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

Could we avoid/minimize changing the protobuf message field names? There are many external project/repo using this, it's all broken. At least two of my project is not compatible with these changes.

Histogram functionality currently used in the Measure module will soon
be used in other modules. This commit moves some helper functions and
protobufs so they can be shared.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants