Debian Codegraph @

conf/storage-schemas.conf.example

raw
1 # Schema definitions for Whisper files. Entries are scanned in order,
2 # and first match wins. This file is scanned for changes every 60 seconds.
3 #
4 # Definition Syntax:
5 #
6 # [name]
7 # pattern = regex
8 # retentions = timePerPoint:timeToStore, timePerPoint:timeToStore, ...
9 #
10 # name: Arbitrary unique name for the rule
11 # pattern: Regular expression to match against the metric name. For syntax see:
12 # https://docs.python.org/3/library/re.html#regular-expression-syntax
13 # retentions: Retention schema for the metric
14 #
15 # Remember: To support accurate aggregation from higher to lower resolution
16 # archives, the precision of a longer retention archive must be
17 # cleanly divisible by precision of next lower retention archive.
18 #
19 # Valid: 60s:7d,300s:30d (300/60 = 5)
20 # Invalid: 180s:7d,300s:30d (300/180 = 3.333)
21 #
22 # This retention is set at the time the first metric is sent.
23 # Changing this file will not affect already-created .wsp files.
24 # Use whisper-resize.py to change existing data files.
25
26 # Carbon's internal metrics. This entry should match what is specified in
27 # CARBON_METRIC_PREFIX and CARBON_METRIC_INTERVAL settings
28 [carbon]
29 pattern = ^carbon\.
30 retentions = 60:90d
31
32 [default]
33 pattern = .*
34 retentions = 60s:1d,5m:30d,1h:3y