diff options
Diffstat (limited to 'vnfs/DAaaS/microservices/visualization-operator/examples/grafana')
2 files changed, 47 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/visualization-operator/examples/grafana/influxdb_grafanadatasource_cr.yaml b/vnfs/DAaaS/microservices/visualization-operator/examples/grafana/influxdb_grafanadatasource_cr.yaml new file mode 100644 index 00000000..5d9753ee --- /dev/null +++ b/vnfs/DAaaS/microservices/visualization-operator/examples/grafana/influxdb_grafanadatasource_cr.yaml @@ -0,0 +1,24 @@ +apiVersion: onap.org/v1alpha1 +kind: GrafanaDataSource +metadata: + name: influxdb +spec: + datasources: + - name: InfluxDB + type: influxdb + url: http://localhost:8086 + isDefault: false + access: proxy + withCredentials: true + basicAuth: true + basicAuthUser: user + basicAuthPassword: password + database: collectd + user: user + password: password + jsonData: + timeInterval: 15s + grafana: + url: http://vis-grafana.default.svc.cluster.local + username: admin + password: admin 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 |