Skip to content

Centralized multi-cluster Prometheus/Thanos/VM support - #70

Merged
Avi-Robusta merged 7 commits into
mainfrom
centralized-support
Jun 14, 2023
Merged

Avi-Robusta merged 7 commits into
mainfrom
centralized-support

Conversation

@Avi-Robusta

Copy link
Copy Markdown
Contributor

we require the user to add the label when running krr on multi-cluster centeralized prometheus
example of the new command:
python3.9 krr.py simple -p http://PROM_URL:9090 -l prod-eu-cluster
When a label is not specified you get this error:
[ERROR] KRR requires a prometheus_cluster_label to run your query, please select one of the following clusters ['CLUSTER_1_NAME', 'CLUSTER_2_NAME']

if the cluster label doesn't exist you get the following error:
[ERROR] prometheus_cluster_label bad-cluster-name does not exist, please use one of the following ['CLUSTER_1_NAME', 'CLUSTER_2_NAME']

@Avi-Robusta
Avi-Robusta requested a review from LeaveMyYard June 13, 2023 16:12
@aantn

aantn commented Jun 13, 2023 via email

Copy link
Copy Markdown
Contributor

@Avi-Robusta
Avi-Robusta force-pushed the centralized-support branch from b23e8e5 to 6ddb66a Compare June 14, 2023 08:41
@Avi-Robusta
Avi-Robusta merged commit 31a1925 into main Jun 14, 2023
@Avi-Robusta
Avi-Robusta deleted the centralized-support branch June 14, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants