Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Jun 14, 2023

Conversation

Avi-Robusta
Copy link
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
Copy link
Contributor

aantn commented Jun 13, 2023 via email

@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