puppet-prometheus/templates/prometheus.yml.erb
2023-02-12 11:03:04 +02:00

5 lines
130 B
Text

<% require 'yaml' -%>
<%= if @configuration
configuration.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
end
-%>