Skip to content

Instantly share code, notes, and snippets.

@Marenz
Created May 24, 2014 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marenz/6fd63d03ebb3e7013008 to your computer and use it in GitHub Desktop.
Save Marenz/6fd63d03ebb3e7013008 to your computer and use it in GitHub Desktop.
root@85-31-186-85:/srv/graphite/conf# cat storage-schemas.conf
# 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
[carbon]
pattern = ^carbon\.
retentions = 60:90d
[masterserver_users]
priority = 100
pattern = ^master\.
# 30s 1w
# 1h 1m
# 1d 1y
retentions = 30:20160,3600:2592000,86400:31536000
[default_1min_for_1day]
pattern = .*
retentions = 60s:1d
@markolson
Copy link

perhaps retentions = 30s:1w,1h:1m,1d:1y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment