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.

dtnaylor added 3 commits May 15, 2019 16:15
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.
@dtnaylor dtnaylor force-pushed the queue-occupancy-ewma branch from 5a4f954 to defafa7 Compare May 15, 2019 23:20
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