From 88a4b9c313edba40ffae96db0c47d7a7a3d961f5 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 13 Apr 2023 23:54:41 -0700 Subject: [PATCH] docs/vmctl.md: run `make docs-sync` after 2a5b9ff78283e4ba5710b5e672931a721f368276 --- docs/vmctl.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/vmctl.md b/docs/vmctl.md index 34b9628b5..af14e9260 100644 --- a/docs/vmctl.md +++ b/docs/vmctl.md @@ -769,8 +769,6 @@ Requests to make: 9 / 9 [██████████████████ requests retries: 0; 2023/03/02 09:22:06 Total time: 3.633127625s ``` - - `vmctl` uses retries with backoff policy by default. The benefits of this retry backoff policy include: @@ -785,13 +783,13 @@ The benefits of this retry backoff policy include: However, there are also some potential penalties associated with using a backoff retry policy, including: 1. Increased migration process latency: -`vmctl` need to make additional call to the `api/v1/label/__name__/values` with defined `--vm-native-filter-match` flag, -and after process all metric names with additional filters. + `vmctl` need to make additional call to the `api/v1/label/__name__/values` with defined `--vm-native-filter-match` flag, + and after process all metric names with additional filters. In case when retries with backoff policy is unneeded `--vm-native-disable-retries` command line flag can be used. When this flag is set to `true`, `vmctl` skips additional call to the `api/v1/label/__name__/values` API and starts migration process by making calls to the `/api/v1/export` and `api/v1/import`. If some errors happen `vmctl` immediately -stops the migration process. +stops the migration process. ``` ./vmctl vm-native --vm-native-src-addr=http://127.0.0.1:8481/select/0/prometheus \