You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Absolute metric should work as follows:
Timestamp = 300, 600, 900, 1200
Step = 300 seconds
ABSOLUTE DS = 1, 2, 3, 4
But they do not seem to have ever worked correctly - they were previously
divided by the interval but incorrectly handled NaNs, resulting in wrong
behaviour. Then the refactoring (including 73ca3cc ("CA-404597: rrd - Pass
Gauge and Absolute data source values as-is")) broke them further.
Divide absolute metrics by the interval in process_ds_value. Fix the unit test
to expect the right behaviour - it passes with this fix.
Signed-off-by: Andrii Sultanov <[email protected]>
0 commit comments