VictoriaMetrics/app
Ze'ev Klapow b3ee33eb8e
fix le buckets when adjacent vmrange is empty (#4021)
There is a bug here where if you have a single bucket like:

foo{vmrange="4.084e+02...4.642e+02"} 2 123

The expected output is three le encoded buckets like:

foo{le="4.084e+02"} 0 123
foo{le="4.642e+02"} 2 123
foo{le="+Inf"} 2 123

This correctly encodes the start and end of the vmrange.
If however, the input contains the previous bucket, and that bucket is
empty then you only get the end le and +Inf out currently, i.e:

foo{vmrange="7.743e+05...8.799e+05"} 5 123
foo{vmrange="6.813e+05...7.743e+05"} 0 123

results in:

foo{le="8.799e+05"} 5 123
foo{le="+Inf"} 5 123

This causes issues when you go to compute a quantile because this means
that the assumed lower bound of the buckets is 0 and this we interpolate
between 0->end rather than the vmrange start->end as expected.
2023-03-27 18:05:03 -07:00
..
victoria-metrics all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmagent all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmalert all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmauth all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmbackup app/vmbackup: simplify code a bit after 5ba347bd2c 2023-03-24 22:19:55 -07:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:03:06 +01:00
vmctl app/vmctl: skip series if measurement not found (#3869) 2023-02-27 12:04:39 -08:00
vmgateway docs: update command-line descriptions after 73256fe438 2023-01-27 00:00:37 -08:00
vminsert lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:08:35 -08:00
vmrestore all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:01:32 -08:00
vmselect fix le buckets when adjacent vmrange is empty (#4021) 2023-03-27 18:05:03 -07:00
vmstorage tests: use DebugFlush instead of vmstorage stop. This simplifies the logic and allows to remove test-only methodds (#3694) 2023-01-23 14:45:59 +01:00
vmui security: bump go version to 1.20.2 (#3935) 2023-03-12 01:38:25 -08:00