Day2 configs for Prometheus and Collectd
[demo.git] / vnfs / DAaaS / day2_configs / prometheus / add_remote_write.yaml
diff --git a/vnfs/DAaaS/day2_configs/prometheus/add_remote_write.yaml b/vnfs/DAaaS/day2_configs/prometheus/add_remote_write.yaml
new file mode 100644 (file)
index 0000000..48af901
--- /dev/null
@@ -0,0 +1,13 @@
+spec:
+  remoteRead:
+  - url: "http://m3coordinator-m3db.m3db-operator.svc.cluster.local:7201/api/v1/prom/remote/read"
+    readRecent: true
+  remoteWrite:
+  - url: "http://m3coordinator-m3db.m3db-operator.svc.cluster.local:7201/api/v1/prom/remote/write"
+    writeRelabelConfigs:
+      - targetLabel: metrics_storage
+        replacement: m3db_remote
+  - url: "http://m3coordinator-m3db-cluster.edge1.svc.cluster.local:7201/api/v1/prom/remote/write"
+    writeRelabelConfigs:
+      - targetLabel: metrics_storage_day2
+        replacement: m3db_remote_day2