author | Yoga Ramalingam <yramalingam1@bloomberg.net> | |
Fri, 14 Nov 2014 14:23:13 +0000 (09:23 -0500) | ||
committer | Yoga Ramalingam <yramalingam1@bloomberg.net> | |
Wed, 3 Dec 2014 14:44:15 +0000 (09:44 -0500) | ||
commit | b6502396fff51f422ddae66c17e89b7fddeed957 | |
tree | 06ea3415e477ba4773727f8d3118ee960e173e13 | tree | snapshot |
parent | 61bda3c7438f57086b0fcf87cc54407efcbaf9e3 | commit | diff |
statsd histogram to support more than 1 second
Summary:
Problem: Collectd/Statsd supports configurable percentiles for timers but it limits the value to be 1 to 1000ms. If the timer value is more than 1000ms, it uses for min, max, average,... and drops it for percentile computation.
Solution: Added support for increasing bin width when the value is above histogram's range.
Test Plan: Tested by sending metrics within range and out-of-range (ie above 1000 ms)
Reviewers: skhajamo, shalstea
Reviewed By: skhajamo
CC: arcyd
Differential Revision: https://all.phab.dev.bloomberg.com/D156454
Summary:
Problem: Collectd/Statsd supports configurable percentiles for timers but it limits the value to be 1 to 1000ms. If the timer value is more than 1000ms, it uses for min, max, average,... and drops it for percentile computation.
Solution: Added support for increasing bin width when the value is above histogram's range.
Test Plan: Tested by sending metrics within range and out-of-range (ie above 1000 ms)
Reviewers: skhajamo, shalstea
Reviewed By: skhajamo
CC: arcyd
Differential Revision: https://all.phab.dev.bloomberg.com/D156454
src/utils_latency.c | diff | blob | history |