#
include_recipe "apache"
-include_recipe "apt"
+include_recipe "apt::grafana"
+include_recipe "apt::timescaledb"
include_recipe "networking"
include_recipe "timescaledb"
cache_dir = Chef::Config[:file_cache_path]
-prometheus_version = "2.31.1"
-alertmanager_version = "0.23.0"
-karma_version = "0.105"
+prometheus_version = "2.38.0"
+alertmanager_version = "0.24.0"
+karma_version = "0.108"
directory "/opt/prometheus-server" do
owner "root"
subscribes :extract, "remote_file[#{cache_dir}/karma-linux-amd64.tar.gz]"
end
-promscale_version = "0.13.0"
+promscale_version = "0.14.0"
database_version = node[:timescaledb][:database_version]
database_cluster = "#{database_version}/main"