X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/524d90d022751710980613df6b943291fc1498d6..2915ebac652fcc0521325cf1aae5a2f56f792549:/cookbooks/prometheus/attributes/default.rb diff --git a/cookbooks/prometheus/attributes/default.rb b/cookbooks/prometheus/attributes/default.rb index bea00dfc6..1fe3790ab 100644 --- a/cookbooks/prometheus/attributes/default.rb +++ b/cookbooks/prometheus/attributes/default.rb @@ -1 +1,10 @@ +default[:prometheus][:addresses] = {} default[:prometheus][:exporters] = {} +default[:prometheus][:snmp] = {} +default[:prometheus][:metrics] = {} +default[:prometheus][:files] = [] +default[:prometheus][:promscale] = false + +if node[:recipes].include?("prometheus::server") + default[:apt][:sources] |= %w[grafana timescaledb] +end