itamae/cookbooks/prometheus/default.rb

18 lines
463 B
Ruby

# Loading the attributes:
include_recipe './attributes.rb'
# Install the Prometheus manager:
if node['prometheus']['manager']
include_recipe './prometheus_install.rb'
include_recipe './prometheus_setup.rb'
include_recipe './alertmanager_install.rb'
include_recipe './alertmanager_setup.rb'
end
# Install the node_exporter here:
include_recipe './node_exporter_install.rb'
include_recipe './node_exporter_setup.rb'
include_recipe './exporter_proxy.rb'