-
Notifications
You must be signed in to change notification settings - Fork 343
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
[victoriametrics-k8s-stack] Grafana dashboard multicluster mode #529
Comments
After a bit of thinking, I think the easiest way to implement this without reworking a lot of dashboards is to send metrics to different tenants and to create one datasource for each. Since, a lot of opensource Kubernetes dashboards have the datasource as a visible variable, we will be able to switch the cluster metrics shown by switching the datasource. |
I have a similar use case. Though if I use multiple tenants in victoriametrics then I won't be able to query metrics across tenants due to their isolation. I discovered that I can use Custom query parameters in the data source to still use a single tenant but filter clusters through the use of extra_filters. I set |
I can reproduce this, and it's evident by comparing Helm manifests with |
Oh, nice, @dotdc recently added multi-cluster support to their dashboards, so for the Kubernetes dashboards, at least, it should only take an upstream refresh to resolve this: |
Hi 👋 Tested on Prometheus 2.0.0 (2017-11-08), and maybe works on older versions too, so it should be safe for most users 😉 |
Hi. Thanks for the fix. I will give it a try to confirm this issue is solved. |
it should be fixed since k8s-stack v0.19.0 |
If it's the case, maybe we can close this issue? |
Hi. I want to create a monitoring stack with VictoriaMetrics to monitor multiple Kubernetes cluster. I used the 'victoria-metrics-k8s-stack' chart (version: 0.14.17) to install a VMCluster on one of my Kubernetes cluster and a Grafana instance.
In order to have multicluster dashboards (dashboards with a cluster parameter to filter metrics), I wrote the following in my values file with no effect:
I grep'ed into the chart and from what I saw, the field is used in a script which is never used in the chart.
I understand that the script unhide the cluster variable in dashboards so it should be okay for dashboards already having the cluster variable defined and used. However, not all dashboards in the chart are made with a cluster variable to begin with (example here).
In short, my questions are:
Thanks for your help
The text was updated successfully, but these errors were encountered: