Split monitoring stack to dedicated services
In order to introducing prometheus long term storage
we need to have an ability to arrange monitoring docker
services in a more flexible way. Ie be able to enable
or disable particular service.
Docker stack and prometheus target DNS branches are affected.
Change-Id: I0310c716bd39f780ae0080032cad4a2278132bcb
Partial-fix: PROD-17350
diff --git a/prometheus/server/target/dns/pushgateway.yml b/prometheus/server/target/dns/pushgateway.yml
new file mode 100644
index 0000000..9022fa7
--- /dev/null
+++ b/prometheus/server/target/dns/pushgateway.yml
@@ -0,0 +1,12 @@
+parameters:
+ prometheus:
+ server:
+ target:
+ dns:
+ enabled: true
+ endpoint:
+ - name: 'pushgateway'
+ domain:
+ - 'tasks.monitoring_pushgateway'
+ type: A
+ port: ${prometheus:pushgateway:bind:port}
\ No newline at end of file