diff options
| author | avi robusta <avi@robusta.dev> | 2023-06-14 12:30:54 +0300 |
|---|---|---|
| committer | avi robusta <avi@robusta.dev> | 2023-06-14 12:30:54 +0300 |
| commit | 84f9f58973f00a804b6c11ad6e3c8ec3ae5d48b5 (patch) | |
| tree | d0b62946ff2f3282a362dd636337feacf46deb09 /README.md | |
| parent | 31a192559010bb72e962844183a0a8bd4f83c5e9 (diff) | |
support custom label name
the standard is cluster
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -334,6 +334,12 @@ For example, if your cluster has the Prometheus label `cluster: "my-cluster-name krr.py simple -p http://my-centralized-prometheus:9090 -l my-cluster-name ``` +If you are using a label 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 +``` + <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- Formatters --> |
