Commit 026348b
fix(hdrhistogram): handle case when intervals larger than time range
Handle case when interval is larger than the time range in histogram summary by interval.
If the specified interval is greater than the difference between end_time and start_time,
use the actual time range as the window step to avoid empty intervals.
(cherry picked from commit 0f38802)1 parent b9f85a5 commit 026348b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments