summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/root/etc/config
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2022-12-06 13:37:47 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2022-12-06 13:37:47 +0200
commit4b49b45641b34094bd3be8b34de026303dc70f4a (patch)
tree3cefe784cd5dd7ec3f2a0fb60075c5108931a979 /applications/luci-app-statistics/root/etc/config
parent785792a5911036910b6caf440b25262fe8d74a0a (diff)
luci-app-statistics: set shortest period data/graph to 2 hours
Change the shortest defined statistics period from 1 hour to 2 hours. In practice, this only changes the graph for the shortest period to show 2 hours of data instead of 1 hour. The underlying database is not changed: there are currently 288 data items for each period, so with the 30 seconds default step, the shortest data series contains 288 x 0.5 min = 144 min > 2 hours of data. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-statistics/root/etc/config')
-rw-r--r--applications/luci-app-statistics/root/etc/config/luci_statistics2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/root/etc/config/luci_statistics b/applications/luci-app-statistics/root/etc/config/luci_statistics
index 43d825bc95..603e038800 100644
--- a/applications/luci-app-statistics/root/etc/config/luci_statistics
+++ b/applications/luci-app-statistics/root/etc/config/luci_statistics
@@ -22,7 +22,7 @@ config statistics 'collectd_rrdtool'
option DataDir '/tmp/rrd'
option RRARows '288'
option RRASingle '1'
- option RRATimespans '1hour 1day 1week 1month 1year'
+ option RRATimespans '2hour 1day 1week 1month 1year'
config statistics 'collectd_csv'
option enable '0'