mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs/troubleshooting: mention issue with un-ordered labels
See https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5219#issuecomment-1773441711 Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
a64b37cf24
commit
e964df8039
1 changed files with 8 additions and 0 deletions
|
@ -415,6 +415,14 @@ The most common sources of cluster instability are:
|
||||||
see [replication and data safety docs](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#replication-and-data-safety)
|
see [replication and data safety docs](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#replication-and-data-safety)
|
||||||
for details.
|
for details.
|
||||||
|
|
||||||
|
- Time series sharding. Received time series [are consistently sharded](https://docs.victoriametrics.com/vmalert.html#rules-backfilling)
|
||||||
|
by `vminsert` between configured `vmstorage` nodes. As a sharding key `vminsert` is using time series name and labels,
|
||||||
|
respecting their order. If the order of labels in time series is constantly changing, this could cause wrong sharding
|
||||||
|
calculation and result in un-even and sub-optimal time series distribution across available vmstorages. It is expected
|
||||||
|
that metrics pushing client is responsible for consistent labels order (like `Prometheus` or `vmagent` during scraping).
|
||||||
|
If this can't be guaranteed, set `-sortLabels=true` cmd-line flag to `vminsert`. Please note, sorting may increase
|
||||||
|
CPU usage for `vminsert`.
|
||||||
|
|
||||||
The obvious solution against VictoriaMetrics cluster instability is to make sure cluster components
|
The obvious solution against VictoriaMetrics cluster instability is to make sure cluster components
|
||||||
have enough free resources for graceful processing of the increased workload.
|
have enough free resources for graceful processing of the increased workload.
|
||||||
See [capacity planning docs](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#capacity-planning)
|
See [capacity planning docs](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#capacity-planning)
|
||||||
|
|
Loading…
Reference in a new issue