From b35382bc0bb802ca20e5cb0a8cd3f7ce5b883dce Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Tue, 2 Jan 2024 18:41:02 +0800 Subject: [PATCH] upgrade-monitoring-services: fix path errors (#15919) (#15937) --- upgrade-monitoring-services.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade-monitoring-services.md b/upgrade-monitoring-services.md index 7e93e78aa1fee..98e3938648a8e 100644 --- a/upgrade-monitoring-services.md +++ b/upgrade-monitoring-services.md @@ -41,7 +41,7 @@ Download a new installation package from the [Prometheus download page](https:// 2. Recompress the `./prometheus-v{version}-linux-amd64` directory and name the new compressed package as `prometheus-v{new-version}.tar.gz`, where `{new-version}` can be specified according to your need. ```bash - cd prometheus-v{version}-linux-amd64.tar.gz + cd prometheus-v{version}-linux-amd64 tar -zcvf ../prometheus-v{new-version}.tar.gz ./ ``` @@ -81,7 +81,7 @@ In the following upgrade steps, you need to download the Grafana installation pa 2. Recompress the `./grafana-v{version}-linux-amd64` directory and name the new compressed package as `grafana-v{new-version}.tar.gz`, where `{new-version}` can be specified according to your need. ```bash - cd grafana-v{version}-linux-amd64.tar.gz + cd grafana-v{version}-linux-amd64 tar -zcvf ../grafana-v{new-version}.tar.gz ./ ```