system-config/playbooks/roles/graphite/templates/storage-schemas.conf.j2
Ian Wienand 93445ff303 graphite: copy storage-schemas from puppet-graphite
This is the storage-schemas configuration file currently deployed by
puppet-graphite.  Apply it to the container so we maintain the same
retention, etc.

Change-Id: Ia733bf4a958a559ce3921094bb3f0875365157ce
2020-09-29 14:52:01 +10:00

19 lines
447 B
Django/Jinja

# 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, ...
["stats.timers"]
pattern = ^stats.timers.*
retentions = 10s:8h,60s:7d,1h:90d,1d:1y
["stats"]
pattern = ^stats.*
retentions = 10s:8h,60s:7d,1h:1y,1d:5y
["default"]
pattern = .*
retentions = 60:90d