<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/applications/luci-app-statistics/root/etc, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2024-02-03T09:59:31Z</updated>
<entry>
<title>luci-app-statistics: Add rrd backup option to config file</title>
<updated>2024-02-03T09:59:31Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-02-03T09:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=1e1c6b853157febd3d93cdcbaa059a4f1a80b33b'/>
<id>urn:sha1:1e1c6b853157febd3d93cdcbaa059a4f1a80b33b</id>
<content type='text'>
Commit ad98af3a2 added the statistics data backup capability
to LuCI statistics, but dit not add the option to the config file.

Add the option (as disabled), so that users can easier notice the
feature.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: harden sysupgrade_backup</title>
<updated>2023-11-11T16:55:47Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2023-11-11T16:19:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=55e0f28b1ec2f86068d1dad9915641e3fb22afbf'/>
<id>urn:sha1:55e0f28b1ec2f86068d1dad9915641e3fb22afbf</id>
<content type='text'>
Remove sysupgrade_backup from help.  Also have it check parameters.

Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: cleanups of bad spacing</title>
<updated>2023-11-11T12:40:22Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2023-11-11T02:11:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=465bfe24fa89703d073e6830a36a5e8eedc8e4b0'/>
<id>urn:sha1:465bfe24fa89703d073e6830a36a5e8eedc8e4b0</id>
<content type='text'>
Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: Add backup/restore for RRD statistics</title>
<updated>2023-10-29T23:48:38Z</updated>
<author>
<name>John Kohl</name>
</author>
<published>2023-10-25T02:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=ad98af3a2be6c87b1f36cec05c8c3529831b7787'/>
<id>urn:sha1:ad98af3a2be6c87b1f36cec05c8c3529831b7787</id>
<content type='text'>
Add a backup/restore capability for rrd data storage in
luci_statistics.  The data storage is typically in /tmp and does not
survive reboot or sysupgrade.  This adds an option for the
administrator to configure the RRD plugin, so that the RRD data are
are preserved with a backup copy in the overlay file system.

This works for shutdown/reboot, sysupgrade (backup config files,
restore config files, and true sysupgrade).

Also fix a bug where starting luci_statistics for the first time would
not get a restart a running collectd: during install of the package
when it is not included in the base flashed image, collectd might be
started when it got installed/configured before this package gets
installed/configured.  So we need to check if it's running, and
restart it to use the luci_statistics configuration.

Signed-off-by: John Kohl &lt;jtk.git@bostonpog.org&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: memory: make hiding 'free' configurable</title>
<updated>2023-10-09T20:16:36Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2023-10-09T20:16:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=08540c44629ad0fedf5feb2b535c2df182ac3973'/>
<id>urn:sha1:08540c44629ad0fedf5feb2b535c2df182ac3973</id>
<content type='text'>
Make hiding the 'free' memory configurable.
Set default as disabled, shown in graph which always scales to 100%.

If enabled, the graph scales to actually used memory,
which enables a more detailed view to memory usage.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: enhance tcpconns plugin</title>
<updated>2023-05-31T15:11:49Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2023-05-30T16:27:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=c9c395920e424cd188a663a6c3f4acfdf8d65012'/>
<id>urn:sha1:c9c395920e424cd188a663a6c3f4acfdf8d65012</id>
<content type='text'>
Modernize tcpconns plugin to match the features in collectd:

* Support summary of all ports
* 'All listening ports' can be concurrent to specified ports,
  not just alternative

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: Adjust also default_timespan to 2hour</title>
<updated>2022-12-29T10:05:50Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2022-12-29T10:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=3aedb609cea9df548fe8a21a0b98e3f01a801200'/>
<id>urn:sha1:3aedb609cea9df548fe8a21a0b98e3f01a801200</id>
<content type='text'>
Adjust also default_timespan option to be 2hour, as that change was
forgotten in 4b49b456. (That seems to have no practical relevance, as
LuCI seems to offer the first item from the period list in any case.)

Fixes: 4b49b456 luci-app-statistics: set shortest period data/graph to 2 hours

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: set shortest period data/graph to 2 hours</title>
<updated>2022-12-06T11:37:47Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2022-12-06T11:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=4b49b45641b34094bd3be8b34de026303dc70f4a'/>
<id>urn:sha1:4b49b45641b34094bd3be8b34de026303dc70f4a</id>
<content type='text'>
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 &gt; 2 hours of data.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: rewrite stat-genconfig in ucode</title>
<updated>2022-10-24T23:03:37Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-23T18:25:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=984a9a4d695b14023a030b9cbc4bd6ca821425dd'/>
<id>urn:sha1:984a9a4d695b14023a030b9cbc4bd6ca821425dd</id>
<content type='text'>
Rewrite the collectd config generator script in ucode to remove the implicit
dependency on the Lua runtime.

Also move the stat-genconfig script into /usr/libexec as it isn't really a
user facing executable.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-app-statistics: increase default amount of data items in RRD</title>
<updated>2021-11-28T18:22:27Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2021-11-28T18:18:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=c21c6668edfc5154070660afa80153caad6565f7'/>
<id>urn:sha1:c21c6668edfc5154070660afa80153caad6565f7</id>
<content type='text'>
Increase the default number of data items in the RRD database
from 144 to 288. This leads to smaller summarising/averaging periods,
visible especially in the day &amp; week graphs. The averaging intervals
will be: 30s, 5min, 35min, 2h35min, 1d6h30min

(Note: this change only applies in a live router if the RRD database is
empty. E.g after reboot or after emptying the RRD database dir.)

Reference to discussion at #4065

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
</feed>
