6 lines
199 B
Text
6 lines
199 B
Text
<% require 'yaml' -%>
|
|
<% configuration = scope.lookupvar('::prometheus::configuration') -%>
|
|
<%= if configuration
|
|
configuration.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
|
end
|
|
-%>
|