grafana datasources yaml doesn't support environment value
like-inspur opened this issue · 2 comments
like-inspur commented
I create a grafana instance with grafana/grafana:5.1.2 image. I want to config different datasources for different grafana. So I config a datasources.yaml under /etc/grafana/provisioning like this:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://$PROMETHEUS_SERVER:9090
And I create an environment value for $PROMETHEUS_SERVER,but no value on grafana web page.
torkelo commented
there is a feature request for this in Grafana repo I think
xlson commented
This feature request has been moved to the main Grafana repository grafana/grafana#12896