Updated README
[demo.git] / vnfs / DAaaS / deploy / visualization / README.txt
1 ### To add a datasource
2 Modify "url" in the datasources section of ./charts/grafana/grafana-values.yaml based on the Prometheus or any other service created
3
4
5 ### To add a custom dashboard
6 1. Place the custom dashboard definition inside the folder ./charts/grafana/dashboards
7 Example dashboard definition can be found at ./charts/grafana/dashboards/dashboard1.json
8 2. create a configmap.yaml that imports above created dashboard1.json file as config and place it insdie the folder ./charts/grafana/templates/
9 Example configmap can be found at ./charts/grafana/templates/configmap-add-dashboard.yaml
10 3. Add custom dashboard configuration to values.yaml or an overriding values.yaml. Example configuration can be found in the "dashboardProviders" section of grafana-values.yaml
11 4. For a fresh install of visualization package, do "helm install"
12    e.g., helm install -n viz . -f ./values.yaml -f ./grafana-values.yaml
13    If the custom dashboard is being added to an already existing Grafana, do "helm upgrade"
14    e.g., helm upgrade -n viz . -f ./values.yaml -f ./grafana-values.yaml -f ......