Graylog2 / Graylog2/graylog2-server
Histogram bar graph, first minute gets clipped
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
Another histogram observation: By default the bar graph shows 6 minutes. As the search updates (e.g. Update every 5 seconds), the newest minute bar slowly grows as expected. But what is not expected is the old minute bar shrinks.
Based on this I can tell that the total range of the histogram is exactly 5 minutes, or 300 seconds. That means as time progresses, the start range keeps moving forward. But this isn't a good representation of the first minute bar which should consider the entire minute.
As an example, at 12:47:39 the histogram range is 12:42:40 to 12:47:39. So the first minute is missing 20 seconds and this is why the bar shrinks with each update.
I propose that instead the histogram range uses a floor of the start minute. So at 12:47:39, the histogram range would be 12:42:00 to 12:47:39.
thanks
Contributor guide
Assessment
This issue has not been assessed yet.