From 68ab7162d0e3ef0c72c620f87e13a31bd59d8d2d Mon Sep 17 00:00:00 2001 From: Linus Gasser Date: Fri, 13 Oct 2023 16:40:42 +0200 Subject: [PATCH] Oups One file too much... --- data/graphite/storage-schemas.conf | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 data/graphite/storage-schemas.conf diff --git a/data/graphite/storage-schemas.conf b/data/graphite/storage-schemas.conf new file mode 100644 index 0000000..01010af --- /dev/null +++ b/data/graphite/storage-schemas.conf @@ -0,0 +1,31 @@ +# 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 = 10s:6h,1m:90d + +# 2023-09-27 - This is not used anymore and can be removed sometimes in the future. +[half-hourly] +pattern = ^(cothority|omniledger)\. +retentions = 30m:30d,6h:1800d + +[minutely] +pattern = .* +retentions = 1m:6d,10m:1800d