aboutsummaryrefslogtreecommitdiffstats
path: root/build/storage-schemas.conf
diff options
context:
space:
mode:
Diffstat (limited to 'build/storage-schemas.conf')
-rw-r--r--build/storage-schemas.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/build/storage-schemas.conf b/build/storage-schemas.conf
new file mode 100644
index 0000000..3623365
--- /dev/null
+++ b/build/storage-schemas.conf
@@ -0,0 +1,21 @@
+# 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
+
+[ping]
+pattern = ping.*
+retentions = 1s:1d, 1m:20d
+
+[default_1min_for_1day]
+pattern = .*
+retentions = 60s:1d
+