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

Datasource provisioning: should allow one default per organisation #12229

Closed
schweikert opened this issue Jun 11, 2018 · 2 comments
Closed

Datasource provisioning: should allow one default per organisation #12229

schweikert opened this issue Jun 11, 2018 · 2 comments

Comments

@schweikert
Copy link

Currently if I try to provision datasources automatically for our multiple organisations, I get:

Failed to provision Grafana from config. error: datasource.yaml config is invalid. Only one datasource can be marked as default

In datasources.yaml I have something like:

- orgId: 1
  name: prometheus
  type: prometheus
  isDefault: True
  access: proxy
  url: http://prometheus.example.com:9090
- orgId: 2
  name: prometheus
  type: prometheus
  isDefault: True
  access: proxy
  url: http://prometheus.example.com:9090
@bergquist
Copy link
Contributor

@schweikert
Copy link
Author

Thank you!

@marefr marefr modified the milestones: 5.3, 5.3.0-beta1 Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants