Closed ruddra closed 2 years ago
@ruddra Can you try again with access in direct mode instead of proxy?
Unfortunately direct did not work
You have to use baseUrl
instead of url
in jsonData
section:
apiVersion: 1
datasources:
- name: nodegraph-provision
type: hamedkarbasi93-nodegraphapi-datasource
access: direct
jsonData:
baseUrl: http://localhost:5000
We will utilize url
in the next release to make it compatible with the standard. But for now, you can use the above config.
Thanks.
Describe the bug I tried to create provisioning datasource by following yml:
It created a provisional datasource when I started the grafana, but when I try to use it, it throws error:
To Reproduce Steps to reproduce the behavior:
/etc/grafana/provisioning/datasources
Expected behavior Should work.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop Information: