mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/promql: use deriv_fast
instead of deriv
in ttf
, since deriv
calculations have been changed recently
This commit is contained in:
parent
3b3b2f1e6e
commit
ee13256f74
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ func getDefaultWithArgExprs() []*withArgExpr {
|
|||
|
||||
// ttf - time to fuckup
|
||||
`ttf(freev) = smooth_exponential(
|
||||
clamp_max(clamp_max(-freev, 0) / clamp_max(deriv(freev), 0), 365*24*3600),
|
||||
clamp_max(clamp_max(-freev, 0) / clamp_max(deriv_fast(freev), 0), 365*24*3600),
|
||||
clamp_max(step()/300, 1)
|
||||
)`,
|
||||
|
||||
|
|
Loading…
Reference in a new issue