Skip to content

Instantly share code, notes, and snippets.

@luckyruby
Created January 30, 2015 13:19
Show Gist options
  • Save luckyruby/ddb5c1fab0d49caa181c to your computer and use it in GitHub Desktop.
Save luckyruby/ddb5c1fab0d49caa181c to your computer and use it in GitHub Desktop.
# 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
[default_1min_for_1day]
pattern = .*
retentions = 60s:1d
[stats]
pattern = ^stats.*
retentions = 10s:6h,1min:6d,10min:1800d
stats_counts.foo.bar,1422622080,1422623280,60|1.0,None,None,0.0,0.0,2.0,1.0,None,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment