summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoravi robusta <avi@robusta.dev>2023-06-14 12:30:54 +0300
committeravi robusta <avi@robusta.dev>2023-06-14 12:30:54 +0300
commit84f9f58973f00a804b6c11ad6e3c8ec3ae5d48b5 (patch)
treed0b62946ff2f3282a362dd636337feacf46deb09 /README.md
parent31a192559010bb72e962844183a0a8bd4f83c5e9 (diff)
support custom label name
the standard is cluster
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index dc5c278..57f9ce8 100644
--- a/README.md
+++ b/README.md
@@ -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 -->