Adding composers and customization files for ELK sample system and Metrics sample...
[osm/devops.git] / installers / docker / osm_metrics / datasource-prometheus.yml
diff --git a/installers/docker/osm_metrics/datasource-prometheus.yml b/installers/docker/osm_metrics/datasource-prometheus.yml
new file mode 100644 (file)
index 0000000..b6151ee
--- /dev/null
@@ -0,0 +1,9 @@
+datasources:
+-  access: 'proxy'                       # make grafana perform the requests
+   editable: true                        # whether it should be editable
+   is_default: true                      # whether this should be the default DS
+   name: 'osm_prometheus'                         # name of the datasource
+   org_id: 1                             # id of the organization to tie this datasource to
+   type: 'prometheus'                    # type of the data source
+   url: 'http://prometheus:9090'         # url of the prom instance
+   version: 1                            # well, versioning