puppet-prometheus/templates/prometheus.yml.erb

6 lines
130 B
Text
Raw Normal View History

2023-02-12 10:03:04 +01:00
<% require 'yaml' -%>
<%= if @configuration
configuration.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
end
-%>