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
parent afaf7f0b74
commit 11e2d41c77
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -10,7 +10,6 @@ aliases:
---
# Multi Retention Setup within VictoriaMetrics Cluster
**Objective**
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:
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