diff options
| author | chengzw <40051120+cr7258@users.noreply.github.com> | 2023-07-18 19:01:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-18 14:01:48 +0300 |
| commit | 06f7f960672618f4cc76bf7f7213e310861ac06e (patch) | |
| tree | 7afa2f0613ef22eeeaeae222da4a7f213c492aaa /README.md | |
| parent | c971ee7bb0767f9713260d4fc92b7ad8d9b74d30 (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.md | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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> |
