projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011a86b
)
Collect alertmanager statistics
author
Tom Hughes
<tom@compton.nu>
Thu, 21 Jan 2021 18:53:31 +0000
(18:53 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 21 Jan 2021 18:53:31 +0000
(18:53 +0000)
cookbooks/prometheus/templates/default/prometheus.yml.erb
patch
|
blob
|
history
diff --git
a/cookbooks/prometheus/templates/default/prometheus.yml.erb
b/cookbooks/prometheus/templates/default/prometheus.yml.erb
index 02c71fefdfa93a2ab23634f8462277ac39e1cb27..b44654463a46473262c322809439a55037cb0a77 100644
(file)
--- a/
cookbooks/prometheus/templates/default/prometheus.yml.erb
+++ b/
cookbooks/prometheus/templates/default/prometheus.yml.erb
@@
-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: