storage-schemas.conf 958 B

1234567891011121314151617181920212223242526272829303132
  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. # Remember: To support accurate aggregation from higher to lower resolution
  11. # archives, the precision of a longer retention archive must be
  12. # cleanly divisible by precision of next lower retention archive.
  13. #
  14. # Valid: 60s:7d,300s:30d (300/60 = 5)
  15. # Invalid: 180s:7d,300s:30d (300/180 = 3.333)
  16. #
  17. # Carbon's internal metrics. This entry should match what is specified in
  18. # CARBON_METRIC_PREFIX and CARBON_METRIC_INTERVAL settings
  19. [carbon]
  20. pattern = ^carbon\.
  21. retentions = 10s:6h,1m:90d
  22. [highres_domoticz]
  23. pattern = ^domo\.
  24. retentions = 5s:24h,1m:14d,10m:3600d
  25. [default_1min_for_1day]
  26. pattern = .*
  27. retentions = 10s:6h,1m:6d,10m:1800d