docs: mention that quantiles can't be used in sharded mode

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4942
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2023-09-07 10:06:09 +02:00
parent 45c0e4bb31
commit 40c94b26dd
No known key found for this signature in database
GPG Key ID: 3BF75F3741CA9640

View File

@ -559,6 +559,9 @@ The `phi` must be in the range `[0..1]`, where `0` means `0th` percentile, while
The results of `quantiles(phi1, ..., phiN)` with aggregation interval of `1m`
is equal to the `quantiles_over_time("quantile", phi1, ..., phiN, some_histogram_bucket[1m])` query.
Please note, `quantiles` aggregation won't produce correct results when vmagent is in [cluster mode](#cluster-mode)
since percentiles should be calculated only on the whole matched data set.
## Aggregating by labels
All the labels for the input metrics are preserved by default in the output metrics. For example,