diff options
author | Srivahni <srivahni.chivukula@intel.com> | 2019-07-17 00:31:28 -0700 |
---|---|---|
committer | Srivahni <srivahni.chivukula@intel.com> | 2019-07-17 00:39:56 -0700 |
commit | d372a21027f5ade64e2c28037c1deab053b5e36e (patch) | |
tree | 609d93cc3f125bdb065f50770352382e4d27d140 /vnfs/DAaaS/deploy/visualization/README.txt | |
parent | 1ef3f0f57769f91ba2e85b9c2b42368646d483af (diff) |
Automate datasource & dashboard imports in grafana
Added to grafana-values.yaml
Issue-ID: ONAPARC-393
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Change-Id: Id6c8413ea4c4ea69cc7b35f52c2f47b364f5906f
Diffstat (limited to 'vnfs/DAaaS/deploy/visualization/README.txt')
-rwxr-xr-x | vnfs/DAaaS/deploy/visualization/README.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/visualization/README.txt b/vnfs/DAaaS/deploy/visualization/README.txt new file mode 100755 index 00000000..a2005d29 --- /dev/null +++ b/vnfs/DAaaS/deploy/visualization/README.txt @@ -0,0 +1,14 @@ +#Add 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 ./charts/grafana/values.yaml -f ./charts/grafana/grafana-values.yaml + |