aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/visualization-operator/examples/grafana/prometheus_grafanadatasource_cr.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/microservices/visualization-operator/examples/grafana/prometheus_grafanadatasource_cr.yaml')
-rw-r--r--vnfs/DAaaS/microservices/visualization-operator/examples/grafana/prometheus_grafanadatasource_cr.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/visualization-operator/examples/grafana/prometheus_grafanadatasource_cr.yaml b/vnfs/DAaaS/microservices/visualization-operator/examples/grafana/prometheus_grafanadatasource_cr.yaml
new file mode 100644
index 00000000..b8086366
--- /dev/null
+++ b/vnfs/DAaaS/microservices/visualization-operator/examples/grafana/prometheus_grafanadatasource_cr.yaml
@@ -0,0 +1,23 @@
+apiVersion: onap.org/v1alpha1
+kind: GrafanaDataSource
+metadata:
+ name: prometheus
+spec:
+ datasources:
+ - name: Prometheus
+ type: prometheus
+ url: http://cp-prometheus-prometheus:9090
+ isDefault: true
+ access: proxy
+ withCredentials: true
+ basicAuth: true
+ basicAuthUser: user
+ basicAuthPassword: password
+ jsonData:
+ timeInterval: 10s
+ queryTimeout: 50s
+ readOnly: false
+ grafana:
+ url: http://vis-grafana.default.svc.cluster.local
+ username: admin
+ password: admin