aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/visualization/charts/grafana/grafana-values.yaml
diff options
context:
space:
mode:
authorSrivahni <srivahni.chivukula@intel.com>2019-07-17 00:31:28 -0700
committerSrivahni <srivahni.chivukula@intel.com>2019-07-17 00:39:56 -0700
commitd372a21027f5ade64e2c28037c1deab053b5e36e (patch)
tree609d93cc3f125bdb065f50770352382e4d27d140 /vnfs/DAaaS/deploy/visualization/charts/grafana/grafana-values.yaml
parent1ef3f0f57769f91ba2e85b9c2b42368646d483af (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/charts/grafana/grafana-values.yaml')
-rwxr-xr-xvnfs/DAaaS/deploy/visualization/charts/grafana/grafana-values.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/visualization/charts/grafana/grafana-values.yaml b/vnfs/DAaaS/deploy/visualization/charts/grafana/grafana-values.yaml
new file mode 100755
index 00000000..cf04bc8c
--- /dev/null
+++ b/vnfs/DAaaS/deploy/visualization/charts/grafana/grafana-values.yaml
@@ -0,0 +1,39 @@
+grafana:
+# nodeSelector:
+# vcmtspktgen: "true"
+
+ datasources:
+ datasources.yaml:
+ apiVersion: 1
+ datasources:
+ - name: Prometheus
+ type: prometheus
+ url: http://cp-prometheus-prometheus.edge1:9090
+ isDefault: true
+ access: proxy
+
+ adminPassword: admin
+
+ image:
+ tag: 5.1.4
+
+ service:
+ type: NodePort
+ # nodePort: 17765
+
+ # Customer DashBoards configurations
+ dashboardProviders:
+ dashboardproviders.yaml:
+ apiVersion: 1
+ providers:
+ - name: 'dashboard1'
+ orgId: 1
+ folder: ''
+ type: file
+ disableDeletion: false
+ editable: true
+ options:
+ path: /var/lib/grafana/dashboards/dashboard1
+
+ dashboardsConfigMaps:
+ dashboard1: "custom-dashboard1"