diff options
author | Srivahni <srivahni.chivukula@intel.com> | 2019-09-20 13:26:39 -0700 |
---|---|---|
committer | Srivahni <srivahni.chivukula@intel.com> | 2019-09-20 13:26:39 -0700 |
commit | 3942114478eeda08d0ebd373a9b22da8929bd628 (patch) | |
tree | 30e107ddb06acd3ed2897fe67de8eb679e0d566a /vnfs/DAaaS/deploy/visualization/README.txt | |
parent | 2f9c8e980460ab9156c657d1bfba4fa2cae9af3f (diff) |
Updated README
Issue-ID: ONAPARC-393
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Change-Id: Ic6578a4b0484b22109bd5a385f0917db8cff14f5
Diffstat (limited to 'vnfs/DAaaS/deploy/visualization/README.txt')
-rw-r--r-- | vnfs/DAaaS/deploy/visualization/README.txt | 22 |
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 |