-
Bug
-
Resolution: Unresolved
-
Critical
-
COO 1.1.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In the case of consecutive intervals within the same bar, the end dates in tooltip are not 5 minutes rounded.
DETAILS
All the intervals are differentiated by one second
60fab741-0da0-411c-8715-a42c891692ab utils.ts:301 groupedData[i][1] 1769466599 utils.ts:302 newDate(groupedData[i][1] * 1000) Mon Jan 26 2026 23:29:59 GMT+0100 (Central European Standard Time)
This logic is applied in https://github.com/openshift/monitoring-plugin/blob/main/web/src/components/Incidents/utils.ts#L192
. Line 207: Initial nodata interval ends one second before the first timestamp
- Lines 219-220: When severity changes, the interval ends one second before the new timestamp:
- Line 263: createNodataInterval creates a nodata gap from previousTimestamp + 1 to currentTimestamp - 1:
- Line 231: Final nodata interval starts one second after the last timestamp:
This ensures: No overlapping intervals Clear boundaries between intervals Gaps are represented as nodata intervals
For example, if you have timestamps at 100, 200, and 300:
Interval 1: [100, 199, 'critical']
Interval 2: [200, 299, 'warning']
Interval 3: [300, 399, 'info']
Each interval ends one second before the next one starts, creating a 1-second separation.
Proposed Fix
A possible fix on the UI side could be to not changing the logic how intervals are calculated but rounding the text displayed in the tooltip

- clones
-
OU-1040 [Incidents] Start dates are misleading
-
- ASSIGNED
-
- links to