summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNatan Yellin <aantn@users.noreply.github.com>2023-12-10 21:57:25 +0200
committerGitHub <noreply@github.com>2023-12-10 21:57:25 +0200
commit618effeb3e3147a4e63dd6eeecbaf146a6ae5ad9 (patch)
treec67f1d53780a3fb9ae33c089fbb11e48fd6f32f9 /README.md
parent38cbd4b8112322f674d02f5344a8067d551a3ed7 (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 12 insertions, 9 deletions
diff --git a/README.md b/README.md
index 1508494..f625aac 100644
--- a/README.md
+++ b/README.md
@@ -283,16 +283,8 @@ krr simple --logtostderr -f yaml > result.yaml
<details>
<summary>Centralized Prometheus (multi-cluster)</summary>
+ <p ><a href="#scanning-with-a-centralized-prometheus">See below on filtering output from a centralized prometheus, so it matches only one cluster</a></p>
-If your Prometheus monitors multiple clusters we require the label you defined for your cluster in Prometheus.
-
-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
-```
-
-You may also need the `-p` flag to explicitly give Prometheus' URL.
</details>
<details>
@@ -447,6 +439,17 @@ If none of those labels result in finding Prometheus, Victoria Metrics or Thanos
<p align="right">(<a href="#readme-top">back to top</a>)</p>
+## Scanning with a Centralized Prometheus
+If your Prometheus monitors multiple clusters we require the label you defined for your cluster in Prometheus.
+
+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
+```
+
+You may also need the `-p` flag to explicitly give Prometheus' URL.
+
## Azure Managed Prometheus
For Azure managed Prometheus you need to generate an access token, which can be done by running the following command: