diff options
author | Emile <hanemile@protonmail.com> | 2019-02-09 18:59:25 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-02-09 18:59:25 +0100 |
commit | dff528dab1a5fe2f6c024753a12913a69d21d6b3 (patch) | |
tree | 06c375fff00c0515f3d794561a5acd0c343b757a | |
parent | 4904db304d33a6a2d7ede4d8097f31f55bc1c0c1 (diff) |
defining where prometheus and the postgresql-exporter are for scraping metrics (WIP)
-rw-r--r-- | prometheus.yml | 10 |
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'] |