diff --git a/docs/vmctl.md b/docs/vmctl.md index 464794e01..3bbbf9dc2 100644 --- a/docs/vmctl.md +++ b/docs/vmctl.md @@ -869,6 +869,10 @@ Importing tips: --vm-native-src-addr=http://:8481/select/0/prometheus --vm-native-dst-addr=http://:8480/insert/0/prometheus ``` +1. When migrating data from VM cluster to Single-node VictoriaMetrics, vmctl will use the `/api/v1/export/native` API of the VM cluster, + which attaches `vm_account_id` and `vm_project_id` labels to each time series. If you don't need to distinguish between tenants + or simply want to remove these labels, try setting the `--vm-native-disable-binary-protocol` flag, which will use the `/api/v1/export` API, + exporting and importing data in JSON format. Deduplication should be enabled at `-vm-native-src-addr` side if needed. 1. Migrating data from VM cluster which had replication (`-replicationFactor` > 1) enabled won't produce the same amount of data copies for the destination database, and will result only in creating duplicates. To remove duplicates, destination database need to be configured with `-dedup.minScrapeInterval=1ms`. To restore the replication factor