-
Notifications
You must be signed in to change notification settings - Fork 1
/
storage-schemas.conf
35 lines (31 loc) · 1.02 KB
/
storage-schemas.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Schema definitions for Whisper files. Entries are scanned in order,
# and first match wins. This file is scanned for changes every 60 seconds.
#
# Definition Syntax:
#
# [name]
# pattern = regex
# retentions = timePerPoint:timeToStore, timePerPoint:timeToStore, ...
#
# Remember: To support accurate aggregation from higher to lower resolution
# archives, the precision of a longer retention archive must be
# cleanly divisible by precision of next lower retention archive.
#
# Valid: 60s:7d,300s:30d (300/60 = 5)
# Invalid: 180s:7d,300s:30d (300/180 = 3.333)
#
# Carbon's internal metrics. This entry should match what is specified in
# CARBON_METRIC_PREFIX and CARBON_METRIC_INTERVAL settings
[carbon]
pattern = ^carbon\.
retentions = 10:2160,60:10080,600:262974
[stats]
priority = 110
pattern = ^stats\..*
retentions = 10:2160,60:10080,600:262974
[default]
pattern = .*
retentions = 10:2160,60:10080,600:262974
[default_1min_for_1day]
pattern = .*
retentions = 10s:6h,1m:6d,10m:1800d