about summary refs log tree commit diff
diff options
context:
space:
mode:
-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']