From d113cfc0bac899e028ebaa9ec51ba952ea3ec6dd Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 22 May 2020 20:06:45 -0700 Subject: [PATCH] add comment on how often du value is stored --- setup/start/collectd/du.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/start/collectd/du.py b/setup/start/collectd/du.py index 5fa679bb1..e0fa890ff 100644 --- a/setup/start/collectd/du.py +++ b/setup/start/collectd/du.py @@ -3,6 +3,7 @@ import collectd,os,subprocess,sys,re,time # https://www.programcreek.com/python/example/106897/collectd.register_read PATHS = [] # { name, dir, exclude } +# there is a pattern in carbon/storage-schemas.conf which stores values every 12h for a year INTERVAL = 60 * 60 * 12 # twice a day. change values in docker-graphite if you change this def du(pathinfo):