puppet-graphite/templates/storage-schemas.conf.erb

16 lines
537 B
Plaintext

# Schema definitions for Whisper files. Entries are scanned in order,
# and first match wins. This file is scanned for changes every 60 seconds.
#
# [name]
# pattern = regex
# retentions = timePerPoint:timeToStore, timePerPoint:timeToStore, ...
# Carbon's internal metrics. This entry should match what is specified in
# CARBON_METRIC_PREFIX and CARBON_METRIC_INTERVAL settings
<% @storage_schemas.each do |schema| -%>
["<%= schema['name'] %>"]
pattern = <%= schema['pattern'] %>
retentions = <%= schema['retentions'] %>
<% end -%>