docs: mention Splitting data streams in Multi-retention guide

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2023-12-18 13:23:16 +01:00 committed by Aliaksandr Valialkin
parent 0bb65bc83e
commit 49bd8adbc3
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB

View File

@ -10,7 +10,6 @@ aliases:
--- ---
# Multi Retention Setup within VictoriaMetrics Cluster # Multi Retention Setup within VictoriaMetrics Cluster
**Objective** **Objective**
Setup Victoria Metrics Cluster with support of multiple retention periods within one installation. Setup Victoria Metrics Cluster with support of multiple retention periods within one installation.
@ -29,7 +28,9 @@ A multi-retention setup can be implemented by dividing a [victoriametrics cluste
Example: Example:
Setup should handle 3 different retention groups 3months, 1year and 3 years. Setup should handle 3 different retention groups 3months, 1year and 3 years.
Solution contains 3 groups of vmstorages + vminserts and one group of vmselects. Routing is done by [vmagent](https://docs.victoriametrics.com/vmagent.html) and [relabeling configuration](https://docs.victoriametrics.com/vmagent.html#relabeling). The [-retentionPeriod](https://docs.victoriametrics.com/#retention) sets how long to keep the metrics. Solution contains 3 groups of vmstorages + vminserts and one group of vmselects. Routing is done by [vmagent](https://docs.victoriametrics.com/vmagent.html)
by [splitting data streams](https://docs.victoriametrics.com/vmagent.html#splitting-data-streams-among-multiple-systems).
The [-retentionPeriod](https://docs.victoriametrics.com/#retention) sets how long to keep the metrics.
The diagram below shows a proposed solution The diagram below shows a proposed solution