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

Provision dashboards at runtime #55

Open
jonathan-lo opened this issue Dec 18, 2018 · 3 comments
Open

Provision dashboards at runtime #55

jonathan-lo opened this issue Dec 18, 2018 · 3 comments

Comments

@jonathan-lo
Copy link

Hi,
We're using this project through the prometheus-operator, and are finding the workflow of adding dashboards a little clunky.

I've noticed that in the official helm charts for grafana, there's an option for using a sidecar to provision dashboards by monitoring configmaps with a given label/namespace. Is this something that this project is interested in porting over?

@brancz
Copy link
Owner

brancz commented Jan 7, 2019

Grafana v5 should auto provision dashboards as well when the underlying configmap is changed. If this doesn't work that would be a bug. What the chart uses was initially implemented by us at coreos within the kube-prometheus project, but we talked to the Grafana people and they integrated it directly into Grafana, so we removed our hack 🙂 .

@jonathan-lo jonathan-lo changed the title Provision dashbaords at runtime Provision dashboards at runtime Jan 20, 2019
@jonathan-lo
Copy link
Author

Hi @brancz thanks for the response.
To clarify, our requirement is that we would like to add dashboards that are not included in the configuration when provisioning, and hence there's no config map that we can use to introduce the change.

Is your recommendation here to redeploy the whole grafana stack? We are using this project through prometheus operator so this a little heavy handed.

@brancz
Copy link
Owner

brancz commented Jan 21, 2019

That's exactly what this entire stack was designed for. Why do you feel it's "heavy handed"? You just need to update the ConfigMap and Grafana will automatically reload it and provision the dashboards.

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

No branches or pull requests

2 participants