X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..25dbbcc5db8e8cd3c3ca4466b385e471c4984195:/cookbooks/prometheus/resources/exporter.rb diff --git a/cookbooks/prometheus/resources/exporter.rb b/cookbooks/prometheus/resources/exporter.rb index 7ff729211..c978f6c62 100644 --- a/cookbooks/prometheus/resources/exporter.rb +++ b/cookbooks/prometheus/resources/exporter.rb @@ -32,6 +32,7 @@ property :options, :kind_of => [String, Array] property :environment, :kind_of => Hash, :default => {} property :service, :kind_of => String property :scrape_interval, :kind_of => String +property :scrape_timeout, :kind_of => String property :metric_relabel, :kind_of => Array property :register_target, :kind_of => [TrueClass, FalseClass], :default => true @@ -71,6 +72,7 @@ action :create do :name => new_resource.exporter, :address => listen_address, :scrape_interval => new_resource.scrape_interval, + :scrape_timeout => new_resource.scrape_timeout, :metric_relabel => new_resource.metric_relabel } end