-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hash value for Prometheus histogram metrics. (#175)
Through internal investigation, I observed that one of the queue length is consistently high and blocked the whole queue manager. I identified that there are large volume of points with hash value 0 tried to be enqueued on to shard #0, which makes the sharding inbalance and the sharded queue are constantly blocked by shard #0. When Stackdriver Prometheus Sidecar tries to transform Prometheus histogram metrics into Stackdriver timeseries with value type distribution, it should return the hash values derived by series cache rather than 0. This change fixes the undesired behavior.
- Loading branch information
1 parent
cc5ee91
commit cf645f3
Showing
2 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters