aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/visualization
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/deploy/visualization')
-rw-r--r--vnfs/DAaaS/deploy/visualization/README.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/vnfs/DAaaS/deploy/visualization/README.txt b/vnfs/DAaaS/deploy/visualization/README.txt
index 9ebb1a0f..90f20ead 100644
--- a/vnfs/DAaaS/deploy/visualization/README.txt
+++ b/vnfs/DAaaS/deploy/visualization/README.txt
@@ -1,14 +1,14 @@
-#Add datasource
+### To add a datasource
Modify "url" in the datasources section of ./charts/grafana/grafana-values.yaml based on the Prometheus or any other service created
-#copy the custom dashboards definition into the folder ./charts/grafana/dashboards
-Example,
- cp ~/dashboard1.json ./charts/grafana/dashboards/
-
-#create configmap that imports .json file as config
-configmap found at ./charts/grafana/templates/configmap-add-dashboard.yaml
-
-#Install visualization helm package
-
-helm install -n graf-prometheus . -f ./grafana-values.yaml
+### To add a custom dashboard
+1. Place the custom dashboard definition inside the folder ./charts/grafana/dashboards
+Example dashboard definition can be found at ./charts/grafana/dashboards/dashboard1.json
+2. create a configmap.yaml that imports above created dashboard1.json file as config and place it insdie the folder ./charts/grafana/templates/
+Example configmap can be found at ./charts/grafana/templates/configmap-add-dashboard.yaml
+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
+4. For a fresh install of visualization package, do "helm install"
+ e.g., helm install -n viz . -f ./values.yaml -f ./grafana-values.yaml
+ If the custom dashboard is being added to an already existing Grafana, do "helm upgrade"
+ e.g., helm upgrade -n viz . -f ./values.yaml -f ./grafana-values.yaml -f ...... \ No newline at end of file