35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
# 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, ...
|
|
#
|
|
# name: Arbitrary unique name for the rule
|
|
# pattern: Regular expression to match against the metric name. For syntax see:
|
|
# https://docs.python.org/3/library/re.html#regular-expression-syntax
|
|
# retentions: Retention schema for the metric
|
|
#
|
|
# 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)
|
|
#
|
|
# This retention is set at the time the first metric is sent.
|
|
# Changing this file will not affect already-created .wsp files.
|
|
# Use whisper-resize.py to change existing data files.
|
|
|
|
# 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]
|
|
pattern = .*
|
|
retentions = 60s:1d,5m:30d,1h:3y
|