author | Yoga Ramalingam <yramalingam1@bloomberg.net> | |
Fri, 14 Nov 2014 14:23:13 +0000 (09:23 -0500) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 6 Mar 2015 08:01:59 +0000 (09:01 +0100) | ||
commit | 85349dfd72e43a7dbeab8d8af2d77b779121203a | |
tree | 2e9e8f0cb9fb97e6aab50b7ebdb396cea71f94a7 | tree | snapshot |
parent | 04f2fc235f6abd128ce1cd788381f62a63e32e97 | 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 |