Add support for standalone prometheus
Add federation target
Partial-fix: PROD-17350
Change-Id: Ia08e7b2203fb2df73e57073bf56c24f19cc0c4b7
diff --git a/prometheus/server/target/federation/init.yml b/prometheus/server/target/federation/init.yml
new file mode 100644
index 0000000..564af82
--- /dev/null
+++ b/prometheus/server/target/federation/init.yml
@@ -0,0 +1,17 @@
+parameters:
+ prometheus:
+ server:
+ target:
+ static:
+ prometheus:
+ endpoint:
+ - address: 127.0.0.1
+ port: ${prometheus:server:bind:port}
+ prometheus_federation:
+ honor_labels: true
+ metrics_path: '/federate'
+ scrape_interval: 15s
+ scrape_timeout: 15s
+ endpoint:
+ - address: ${_param:stacklight_monitor_address}
+ port: 15010