Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

PromLab - Limited accuracy on rate-increase-delta-predict_linear #52

Open
aurrelhebert opened this issue Nov 25, 2020 · 0 comments
Open

Comments

@aurrelhebert
Copy link
Contributor

aurrelhebert commented Nov 25, 2020

Based on PromLab PromQL compliance tests (https://promlabs.com/promql-compliance-tests), we don't reproduce the exact computation for the function rate-increase-delta-predict_linear which leads to less accuracy on queries results with a low range (example for delta function):
QUERY: delta(demo_cpu_usage_seconds_total[15s])

-  Value: Inverse(TranslateFloat64, float64(30.170983173889805)),
+  Value: Inverse(TranslateFloat64, float64(29.886138000001665)),
...

`
QUERY: delta(demo_cpu_usage_seconds_total[1m])

QUERY: delta(demo_cpu_usage_seconds_total[5m])
`

@aurrelhebert aurrelhebert changed the title PromLab - Bug on rate-increase-delta-predict_linear PromLab - Limited precision on rate-increase-delta-predict_linear Nov 25, 2020
@aurrelhebert aurrelhebert changed the title PromLab - Limited precision on rate-increase-delta-predict_linear PromLab - Limited accuracy on rate-increase-delta-predict_linear Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant