1. Adjust the directory layout for the example value file of grafana-values.yaml
introduced by commit
d372a21.
2. Fix the file mode.
Issue-ID: ONAPARC-393
Change-Id: Iedaa54e1b89fbd8f2c62cbdc4a025c29bbd31482
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
#Install visualization helm package
-helm install -n graf-prometheus . -f ./charts/grafana/values.yaml -f ./charts/grafana/grafana-values.yaml
+helm install -n graf-prometheus . -f ./grafana-values.yaml
## Configure grafana datasources
## ref: http://docs.grafana.org/administration/provisioning/#datasources
##
-#datasources:
+datasources:
+ datasources.yaml:
+ apiVersion: 1
+ datasources:
+ - name: Prometheus
+ type: prometheus
+ url: http://localhost:9090
+ isDefault: true
+ - name: M3DB
+ type: prometheus
+ url: http://m3coordinator-m3db-cluster.edge1.svc.cluster.local:7201
+ access: proxy
## Configure notifiers
## ref: http://docs.grafana.org/administration/provisioning/#alert-notification-channels