Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

add datasources in yaml file #21

Merged
merged 1 commit into from
Jan 1, 2018
Merged

add datasources in yaml file #21

merged 1 commit into from
Jan 1, 2018

Conversation

paulfantom
Copy link
Member

@paulfantom paulfantom commented Dec 25, 2017

Resolves #9

@paulfantom paulfantom merged commit ee18a8e into master Jan 1, 2018
@paulfantom paulfantom deleted the issue9 branch January 1, 2018 12:19
@aman0019
Copy link

aman0019 commented May 3, 2018

Hi whilst looking a bit around the code for #54 I realized that the datasources Yaml file is being persisted in the Grafana data directory whereas by default Grafana expects these files under /etc/grafana (cfg:default.paths.provisioning=/etc/grafana/provisioning). I tested this and in fact placing the YAML file in /var/lib/grafana/provisioning/ doesn't have any affect. I understand that right now the use of the API for provisioning datasources hides away this bug but as it is, it is bound to create confusion down the line. shall I file a bug?

@paulfantom
Copy link
Member Author

Yes, do it.

@lock
Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants