]> git.openstreetmap.org Git - chef.git/commitdiff
Collect alertmanager statistics
authorTom Hughes <tom@compton.nu>
Thu, 21 Jan 2021 18:53:31 +0000 (18:53 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 21 Jan 2021 18:53:31 +0000 (18:53 +0000)
cookbooks/prometheus/templates/default/prometheus.yml.erb

index 02c71fefdfa93a2ab23634f8462277ac39e1cb27..b44654463a46473262c322809439a55037cb0a77 100644 (file)
@@ -20,6 +20,10 @@ scrape_configs:
     static_configs:
       - targets:
           - localhost:9090
+  - job_name: alertmanager
+    static_configs:
+      - targets:
+          - localhost:9093
 <% @jobs.sort.each do |name, targets| -%>
   - job_name: <%= name %>
     static_configs: