X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/807df567cf62677a379797fb25394e75a2c669ba..778dafe1b60675abedacec30bbbec1e174fec5b0:/cookbooks/prometheus/templates/default/prometheus.yml.erb diff --git a/cookbooks/prometheus/templates/default/prometheus.yml.erb b/cookbooks/prometheus/templates/default/prometheus.yml.erb index b44654463..b7a3cf81e 100644 --- a/cookbooks/prometheus/templates/default/prometheus.yml.erb +++ b/cookbooks/prometheus/templates/default/prometheus.yml.erb @@ -6,7 +6,8 @@ global: alerting: alertmanagers: - - static_configs: + - path_prefix: /alertmanager + static_configs: - targets: - localhost:9093 @@ -17,10 +18,12 @@ scrape_configs: - job_name: prometheus scrape_interval: 5s scrape_timeout: 5s + metrics_path: /prometheus/metrics static_configs: - targets: - localhost:9090 - job_name: alertmanager + metrics_path: /alertmanager/metrics static_configs: - targets: - localhost:9093