Added interval in btrfs

This commit is contained in:
Shailaja Kumari 2023-11-08 12:15:38 +05:30
parent 1f53f2c3f8
commit 4db580ac62
Signed by: shailaja
GPG Key ID: 81C942771BB69898
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def read_callback():
dev_info.path)[1:]
for counter, value in stats.counters.items():
metric.type_instance = counter
metric.dispatch(TYPE_STATS, [value])
metric.dispatch(TYPE_STATS, [value], interval=600)
except Exception as e:
collectd.error("btrfs: read_callback: {}".format(e))
collectd.debug("btrfs: read done")