prometheus-alertmanager
]
-promscale_version = "0.6.2"
+promscale_version = "0.7.1"
database_version = node[:timescaledb][:database_version]
database_cluster = "#{database_version}/main"
action [:enable, :start]
subscribes :reload, "template[/etc/prometheus/prometheus.yml]"
subscribes :reload, "template[/etc/prometheus/alert_rules.yml]"
+ subscribes :restart, "archive_file[#{cache_dir}/prometheus.linux-amd64.tar.gz]"
end
systemd_service "prometheus-alertmanager-executable" do
service "prometheus-alertmanager" do
action [:enable, :start]
subscribes :reload, "template[/etc/prometheus/alertmanager.yml]"
+ subscribes :restart, "archive_file[#{cache_dir}/alertmanager.linux-amd64.tar.gz]"
end
template "/etc/prometheus/amtool.yml" do
service "prometheus-karma" do
action [:enable, :start]
subscribes :reload, "template[/etc/prometheus/karma.yml]"
+ subscribes :restart, "archive_file[#{cache_dir}/karma-linux-amd64.tar.gz]"
end
package "grafana-enterprise"