From 4d91e536f1ca0fcecb39738de79a267465064874 Mon Sep 17 00:00:00 2001 From: Fred Navruzov Date: Thu, 3 Oct 2024 16:30:24 +0200 Subject: [PATCH] docs/vmanomaly: fix example snippets (#7174) ### Describe Your Changes fix of typos and improper version references in code snippets of example usage ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). (cherry picked from commit 63a9fb34d1579c5d3f0b315c31ee2a6d85638074) --- docs/anomaly-detection/FAQ.md | 4 ++-- docs/anomaly-detection/Overview.md | 4 ++-- docs/anomaly-detection/QuickStart.md | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/anomaly-detection/FAQ.md b/docs/anomaly-detection/FAQ.md index 87753ce546..45dc9c8dc8 100644 --- a/docs/anomaly-detection/FAQ.md +++ b/docs/anomaly-detection/FAQ.md @@ -130,7 +130,7 @@ services: # ... vmanomaly: container_name: vmanomaly - image: victoriametrics/vmanomaly:latest + image: victoriametrics/vmanomaly:v1.16.1 # ... ports: - "8490:8490" @@ -144,7 +144,7 @@ services: environment: # set the environment variable for the model dump directory - VMANOMALY_MODEL_DUMPS_DIR=/vmanomaly/tmp/models/ - VMANOMALY_DATA_DUMPS_DIR=/vmanomaly/tmp/data/ + - VMANOMALY_DATA_DUMPS_DIR=/vmanomaly/tmp/data/ platform: "linux/amd64" command: - "/config.yaml" diff --git a/docs/anomaly-detection/Overview.md b/docs/anomaly-detection/Overview.md index 193a9bbc68..2d6b335816 100644 --- a/docs/anomaly-detection/Overview.md +++ b/docs/anomaly-detection/Overview.md @@ -229,7 +229,7 @@ This will expose metrics at `http://0.0.0.0:8080/metrics` page. To use *vmanomaly* you need to pull docker image: ```sh -docker pull victoriametrics/vmanomaly:latest +docker pull victoriametrics/vmanomaly:v1.16.1 ``` > Note: please check what is latest release in [CHANGELOG](https://docs.victoriametrics.com/anomaly-detection/changelog/) @@ -239,7 +239,7 @@ docker pull victoriametrics/vmanomaly:latest You can put a tag on it for your convenience: ```sh -docker image tag victoriametrics/vmanomaly:latest vmanomaly +docker image tag victoriametrics/vmanomaly:v1.16.1 vmanomaly ``` Here is an example of how to run *vmanomaly* docker container with [license file](#licensing): diff --git a/docs/anomaly-detection/QuickStart.md b/docs/anomaly-detection/QuickStart.md index 05d6b88b4e..a6d59519f9 100644 --- a/docs/anomaly-detection/QuickStart.md +++ b/docs/anomaly-detection/QuickStart.md @@ -32,13 +32,13 @@ Below are the steps to get `vmanomaly` up and running inside a Docker container: 1. Pull Docker image: ```sh -docker pull victoriametrics/vmanomaly:latest +docker pull victoriametrics/vmanomaly:v1.16.1 ``` 2. (Optional step) tag the `vmanomaly` Docker image: ```sh -docker image tag victoriametrics/vmanomaly:latest vmanomaly +docker image tag victoriametrics/vmanomaly:v1.16.1 vmanomaly ``` 3. Start the `vmanomaly` Docker container with a *license file*, use the command below. @@ -70,7 +70,7 @@ docker run -it --user 1000:1000 \ services: # ... vmanomaly: - image: victoriametrics/vmanomaly:latest + image: victoriametrics/vmanomaly:v1.16.1 volumes: $YOUR_LICENSE_FILE_PATH:/license $YOUR_CONFIG_FILE_PATH:/config.yml