summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobusta Runner <aantny@gmail.com>2024-06-14 08:03:10 +0300
committerRobusta Runner <aantny@gmail.com>2024-06-14 08:03:10 +0300
commit73eb5f3a7f1d284695fbe431985fbe674fad71c7 (patch)
treeaf382b2589b56bc3640fd900bf9e2eeda31f4920 /README.md
parent24038980696aa658ee790743d7b6fc8d85fc3bf0 (diff)
Deprecate --prometheus-cluster-label
The name is misleading. Before this change we had both --prometheus-cluster-label and --prometheus-label which referred to very different things, leading to a bug in the code (to be fixed in the next commit). We still support -l and have added support for "--prometheus-cluster-value" which is what `-l` really represents.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6dfafc2..de05e3c 100644
--- a/README.md
+++ b/README.md
@@ -430,7 +430,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"`, then run this command:
```sh
-krr.py simple --prometheus-label cluster -l my-cluster-name
+krr.py simple --prometheus-cluster-key cluster -l my-cluster-name
```
You may also need the `-p` flag to explicitly give Prometheus' URL.