Commit graph

50 commits

Author SHA1 Message Date
Jo-Philipp Wich
99a8b2826e luci_statistics: Add y_min, y_max, units_exponent options and clean up some graphs
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-12-14 21:53:03 +00:00
Jo-Philipp Wich
ac472f9ebc luci-statistics: add transform_rpn option to graphs, use it for nut battery life
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-12-14 13:27:43 +00:00
Jo-Philipp Wich
1461a0dba1 luci-statistics: don't plot data points where there are no data.
Converting NaN to zero for the sake of the cumulative stack in non-overlay
mode is all very well. But we shouldn't then use that for displaying the
graph. Make another variable %s_plot which *preserves* NaN from the input
data, and then we don't get bogus data points drawn. Especially at the end
of the graph this was problematic.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-12-14 13:27:39 +00:00
Jo-Philipp Wich
900515f0a6 applications/luci-statistics: convert nut plugin to minutes 2012-12-11 14:05:57 +00:00
Jo-Philipp Wich
5a54cc575a Add NUT UPS support to luci-statistics 2012-12-11 13:27:37 +00:00
Jo-Philipp Wich
848e43a5b4 remove .i18n annotations from controller files 2012-11-26 12:53:43 +00:00
Jo-Philipp Wich
bbc2c69965 applications/luci-statistics: avoid global vars, avoid nil indexing, get rid of counter variable 2012-02-19 17:05:09 +00:00
Patrick Grimm
ad7aecad88 applications/luci-statistics: make host selectable if collectd-mod-network server is on 2012-02-19 15:11:23 +00:00
Jo-Philipp Wich
6c487cde9a applications/luci-statistics: drop support for wireless plugin, add iwinfo replacement 2011-12-07 21:08:49 +00:00
Jo-Philipp Wich
e046455389 applications/luci-statistics: rework handling of index and detail graphs
Instead of coding the display logic into the graph models, simply annotate
graph models with .detail = true/false and let the renderer decide which
to pick when.
2011-12-05 14:09:24 +00:00
Manuel Munz
da9929e2cb applications/luci-statistics: Saner defaults for processes to monitor and add helptext 2011-11-28 15:50:57 +00:00
Manuel Munz
8bea1337a9 applications/luci-statistics: Add dns graph-model 2011-11-28 14:56:57 +00:00
Jo-Philipp Wich
f09ffc2850 applications/luci-statistics: add support for conntrack plugin 2011-11-28 04:50:54 +00:00
Manuel Munz
6acb5c2ab4 applications/luci-statistics: Add support for memory plugin and initial support for conntrack 2011-11-28 04:42:50 +00:00
Jo-Philipp Wich
70a4a61664 applications/luci-statistics: change i18n helper to accept model provided titles, remove magic translations 2011-11-28 03:28:05 +00:00
Jo-Philipp Wich
5d4191c848 applications/luci-statistics: move all models to the per-plugin level, provide titles and labels, provide model for disk plugin 2011-11-28 03:26:59 +00:00
Jo-Philipp Wich
ef9df734c3 applications/luci-statistics: drop definitions.lua 2011-11-28 03:25:28 +00:00
Jo-Philipp Wich
a0715ee819 applications/luci-statistics: remove support for per-datatype models and builtin definitions, drop dependency on definitions.lua, support user provided title for datasources 2011-11-28 03:24:37 +00:00
Jo-Philipp Wich
7e9b472ea9 revert accidentally committed changes 2011-01-29 03:33:48 +00:00
Jo-Philipp Wich
ae8769ce7b po: sync radvd translations 2011-01-29 03:32:06 +00:00
Jo-Philipp Wich
1208a34bb4 applications/luci-statistics: repair rrdtool i18n handling 2010-12-05 17:58:26 +00:00
Jo-Philipp Wich
45d9fe0b16 application/luci-statistics: fix i18n binding, use string() instead of translate 2009-07-31 00:02:53 +00:00
Jo-Philipp Wich
8fcd841aa9 convert luci.fs users to nixio.fs api 2009-07-19 00:24:58 +00:00
Jo-Philipp Wich
6411c89b4c applications/luci-statistics: adept datatree class to nixio.fs api 2009-06-27 15:01:50 +00:00
Jo-Philipp Wich
b019046776 applications/luci-statistics: improve diagram labels 2008-12-07 23:43:30 +00:00
Jo-Philipp Wich
4309506817 apps/luci-statistics: fix evaluation of RRASingle option in rrdtool backend 2008-11-23 00:56:49 +00:00
Jo-Philipp Wich
0543ad6f4f * luci/app/statistics:
- build datatree from rrd directory structure, allows "virtual" plugins
	- flush index cache on statistics reload
	- whitespace cleanup in config generator
2008-10-29 03:59:37 +00:00
Jo-Philipp Wich
f708455d3c * luci/app/statistics: fix dns plugin diagram - proper graph model will follow later 2008-10-08 15:58:02 +00:00
Jo-Philipp Wich
d82340ada4 * luci/applications: statistics: pick up new rrdtool translations in controller and rrdtool-i18n binding 2008-08-31 14:38:28 +00:00
Steven Barth
91ba7c42f5 UCI API changes 2008-08-26 23:00:44 +00:00
Steven Barth
4bd74d0a98 libs/core: Remove deprecated luci.bits which got replaced by bitlib 2008-08-14 22:51:12 +00:00
Steven Barth
855b7582d3 * Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
* Setting base version to 0.7
2008-06-14 14:12:12 +00:00
Jo-Philipp Wich
de2e0ce10c * luci/statistics: implement support for the load plugin 2008-06-08 21:51:55 +00:00
Jo-Philipp Wich
873b20cb19 * luci/statistics: replace load() with loadc() since german translation is now available 2008-06-08 14:19:26 +00:00
Steven Barth
dd9606825d * Merged Luci to use native UCI-library 2008-06-05 19:16:38 +00:00
Jo-Philipp Wich
18efb3f75b * luci/statistics: made definition fallbacks for date w/o digram model working again 2008-06-03 23:58:42 +00:00
Jo-Philipp Wich
8d732cb8d9 * luci/statistics: definitions.lua: remove all defs handled by diagram models, removed duplicate date (saves ~1000 loc ;-) ) 2008-06-03 23:30:51 +00:00
Jo-Philipp Wich
2c85ff1fe7 * luci/statistics: remove unneeded processes/ps_state diagram definition 2008-06-03 23:22:55 +00:00
Jo-Philipp Wich
c95801569f * luci/statistics: added missing iptables/ipt_bytes definition, svn property fixups 2008-06-03 23:18:37 +00:00
Jo-Philipp Wich
6071119f2e * luc/statistics: add file/license headers 2008-06-03 23:15:16 +00:00
Felix Fietkau
7557c5bcef some error handling for fs.dir(...) == nil 2008-06-03 22:50:21 +00:00
Felix Fietkau
77f8074a01 make use of the new features in the binding for uci v0.4.0 - fixes remaining dependencies of libuci.lua on the cli 2008-06-03 22:42:01 +00:00
Jo-Philipp Wich
71449d76e7 * luci/statistics: implement timespan selection in public interface 2008-06-03 19:05:34 +00:00
Jo-Philipp Wich
1da5feb9f7 * luci/statistics: let rrdtool.lua use values from the configuration, added irq diagram model 2008-06-01 03:12:48 +00:00
Jo-Philipp Wich
d8ba05412c * luci/statistics: added diagram models for process and df plugins, adept controller to recent luci core, support models with per instance diagrams and index diagrams, added new strings to language file 2008-05-30 00:26:18 +00:00
Jo-Philipp Wich
b06638df6e * luci/statistics: implement initial i18n support, added first translations, removed hardcoded strings from models 2008-05-28 22:34:26 +00:00
Jo-Philipp Wich
38844ccb31 * luci/statistics: added diagram model for interface plugin 2008-05-28 19:37:20 +00:00
Jo-Philipp Wich
bb5ecfde72 * luci/statistics: implement a more advanced diagram generator in rrdtool.lua, simplified diagram models, fix bug in datatree.lua 2008-05-28 17:51:15 +00:00
Jo-Philipp Wich
3f09d369d6 * luci/statistics: implement flip, overlay and total options for diagram models, improved/fixed netlink and wireless models 2008-05-27 20:32:04 +00:00
Steven Barth
d35a620e9f commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 13:56:12 2008 +0200

    rename src/ to luasrc/
2008-05-27 12:23:39 +00:00