summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorchengzw <40051120+cr7258@users.noreply.github.com>2023-07-18 19:01:48 +0800
committerGitHub <noreply@github.com>2023-07-18 14:01:48 +0300
commit06f7f960672618f4cc76bf7f7213e310861ac06e (patch)
tree7afa2f0613ef22eeeaeae222da4a7f213c492aaa /README.md
parentc971ee7bb0767f9713260d4fc92b7ad8d9b74d30 (diff)
Set default value of prometheus_label to None (#101)
* set default value of prometheus_label to None * update doc * optimize validate_cluster_name check logic
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/README.md b/README.md
index a465f6b..677354c 100644
--- a/README.md
+++ b/README.md
@@ -357,13 +357,7 @@ If your Prometheus monitors multiple clusters we require the label you defined f
For example, if your cluster has the Prometheus label `cluster: "my-cluster-name"` and your prometheus is at url `http://my-centralized-prometheus:9090`, then run this command:
```sh
-krr.py simple -p http://my-centralized-prometheus:9090 -l my-cluster-name
-```
-
-If you are using a label for your cluster other than `cluster` for example the label `env: "dev-tests"` you can specify it by running:
-
-```sh
-krr.py simple -p http://my-centralized-prometheus:9090 --prometheus-label env -l dev-tests
+krr.py simple -p http://my-centralized-prometheus:9090 --prometheus-label cluster -l my-cluster-name
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>