From c57f43d3f03f4876a1aba39308801dee1b11ecb6 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 4 Apr 2024 14:48:28 +0300 Subject: [PATCH] docs: clarify that downsampling drops all the samples except the last one on every downsampling interval --- README.md | 2 +- docs/Cluster-VictoriaMetrics.md | 2 +- docs/README.md | 2 +- docs/Single-server-VictoriaMetrics.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 48553ef8a..5a337b4a8 100644 --- a/README.md +++ b/README.md @@ -1980,7 +1980,7 @@ See how to request a free trial license [here](https://victoriametrics.com/produ [VictoriaMetrics Enterprise](https://docs.victoriametrics.com/enterprise.html) supports multi-level downsampling via `-downsampling.period=offset:interval` command-line flag. This command-line flag instructs leaving the last sample per each `interval` for [time series](https://docs.victoriametrics.com/keyconcepts/#time-series) [samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) older than the `offset`. For example, `-downsampling.period=30d:5m` instructs leaving the last sample -per each 5-minute interval for samples older than 30 days, while the rest of samples aren't downsampled. +per each 5-minute interval for samples older than 30 days, while the rest of samples are dropped. The `-downsampling.period` command-line flag can be specified multiple times in order to apply different downsampling levels for different time ranges (aka multi-level downsampling). For example, `-downsampling.period=30d:5m,180d:1h` instructs leaving the last sample per each 5-minute interval for samples older than 30 days, diff --git a/docs/Cluster-VictoriaMetrics.md b/docs/Cluster-VictoriaMetrics.md index fde19ff56..33845ba3d 100644 --- a/docs/Cluster-VictoriaMetrics.md +++ b/docs/Cluster-VictoriaMetrics.md @@ -904,7 +904,7 @@ It is configured with `-downsampling.period` command-line flag according to [the It is possible to downsample series, which belong to a particular [tenant](#multitenancy) by using [filters](https://docs.victoriametrics.com/keyConcepts.html#filtering) on `vm_account_id` or `vm_project_id` pseudo-labels in `-downsampling.period` command-line flag. For example, the following config leaves the last sample per each minute for samples -older than one hour only for [tenants](#multitenancy) with accountID equal to 12 and 42, while series for other tenants aren't downsampled: +older than one hour only for [tenants](#multitenancy) with accountID equal to 12 and 42, while series for other tenants are dropped: ``` -downsampling.period='{vm_account_id=~"12|42"}:1h:1m' diff --git a/docs/README.md b/docs/README.md index bca4f660a..27274a3f8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1983,7 +1983,7 @@ See how to request a free trial license [here](https://victoriametrics.com/produ [VictoriaMetrics Enterprise](https://docs.victoriametrics.com/enterprise.html) supports multi-level downsampling via `-downsampling.period=offset:interval` command-line flag. This command-line flag instructs leaving the last sample per each `interval` for [time series](https://docs.victoriametrics.com/keyconcepts/#time-series) [samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) older than the `offset`. For example, `-downsampling.period=30d:5m` instructs leaving the last sample -per each 5-minute interval for samples older than 30 days, while the rest of samples aren't downsampled. +per each 5-minute interval for samples older than 30 days, while the rest of samples are dropped. The `-downsampling.period` command-line flag can be specified multiple times in order to apply different downsampling levels for different time ranges (aka multi-level downsampling). For example, `-downsampling.period=30d:5m,180d:1h` instructs leaving the last sample per each 5-minute interval for samples older than 30 days, diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 6745f427d..64d0f89fa 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -1991,7 +1991,7 @@ See how to request a free trial license [here](https://victoriametrics.com/produ [VictoriaMetrics Enterprise](https://docs.victoriametrics.com/enterprise.html) supports multi-level downsampling via `-downsampling.period=offset:interval` command-line flag. This command-line flag instructs leaving the last sample per each `interval` for [time series](https://docs.victoriametrics.com/keyconcepts/#time-series) [samples](https://docs.victoriametrics.com/keyconcepts/#raw-samples) older than the `offset`. For example, `-downsampling.period=30d:5m` instructs leaving the last sample -per each 5-minute interval for samples older than 30 days, while the rest of samples aren't downsampled. +per each 5-minute interval for samples older than 30 days, while the rest of samples are dropped. The `-downsampling.period` command-line flag can be specified multiple times in order to apply different downsampling levels for different time ranges (aka multi-level downsampling). For example, `-downsampling.period=30d:5m,180d:1h` instructs leaving the last sample per each 5-minute interval for samples older than 30 days,