about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-09 18:59:25 +0100
committerEmile <hanemile@protonmail.com>2019-02-09 18:59:25 +0100
commitdff528dab1a5fe2f6c024753a12913a69d21d6b3 (patch)
tree06c375fff00c0515f3d794561a5acd0c343b757a
parent4904db304d33a6a2d7ede4d8097f31f55bc1c0c1 (diff)
defining where prometheus and the postgresql-exporter are for scraping metrics (WIP)
-rw-r--r--prometheus.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/prometheus.yml b/prometheus.yml
new file mode 100644
index 0000000..acfce11
--- /dev/null
+++ b/prometheus.yml
@@ -0,0 +1,10 @@
+scrape_configs:
+  - job_name: 'prometheus'
+    scrape_interval: 5s
+    static_configs:
+      - targets: ['localhost:9090']
+
+  - job_name: 'postgresql-exporter'
+    scrape_interval: 5s
+    static_configs:
+      - targets: ['postgresql-exporter:9187']