clusters.each do |name, details|
prometheus_suffix = name.tr("/", "-")
prometheus_database = node[:postgresql][:monitor_database]
clusters.each do |name, details|
prometheus_suffix = name.tr("/", "-")
prometheus_database = node[:postgresql][:monitor_database]
prometheus_exporter "postgres" do
port 10000 + details[:port].to_i
service "postgres-#{prometheus_suffix}"
prometheus_exporter "postgres" do
port 10000 + details[:port].to_i
service "postgres-#{prometheus_suffix}"