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

Direct DB connection datasource fails to load when ds is provisioned #711

Closed
alexanderzobnin opened this issue Mar 19, 2019 · 0 comments · Fixed by #723
Closed

Direct DB connection datasource fails to load when ds is provisioned #711

alexanderzobnin opened this issue Mar 19, 2019 · 0 comments · Fixed by #723

Comments

@alexanderzobnin
Copy link
Collaborator

Example provisioning config:

apiVersion: 1

datasources:
- name: Zabbix Provisioned
  type: alexanderzobnin-zabbix-datasource
  url: http://zabbix.grafana-zabbix.org/api_jsonrpc.php
  access: proxy
  jsonData:
    username: zabbix
    password: zabbix
    dbConnectionEnable: true
    dbConnectionDatasourceName: MySQL Zabbix Provisioned
  orgId: 1
  version: 1
  editable: false

- name: MySQL Zabbix Provisioned
  type: mysql
  url: localhost:3306
  database: zabbix
  user: grafana
  password: password
  orgId: 1
  version: 1
  editable: false

Configured SQL datasource doesn't appear and there's an error when you're trying to test datasource:

Connection failed: Query missing datasourceId

Screenshot from 2019-03-19 10-43-28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant