From 73eb5f3a7f1d284695fbe431985fbe674fad71c7 Mon Sep 17 00:00:00 2001 From: Robusta Runner Date: Fri, 14 Jun 2024 08:03:10 +0300 Subject: 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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. -- cgit v1.2.3