[pve-devel] [PATCH manager 0/4] change RRDGraphs to js/html5

Dominik Csapak d.csapak at proxmox.com
Thu Mar 31 10:30:16 CEST 2016


previously we generated a png server side for the rrd graphs,
now we use the sencha charts plugin for this

this needs my patch 'allow empty values in rrddata' for
pve-cluster, otherwise graphs with holes will look weird

also to avoid confusion, i changed the units in the summary header
from [kMG..]B to [kMG..]iB, since there we calculate the values with /1024
and in the rrddata with /1000 (where we use [kMG..]B)

Dominik Csapak (4):
  ext6migrate: add charts js/css to index html
  ext6migrate: add RRDStore class and RRDChart
  ext6migrate: change status units to binary prefixes
  ext6migrate: use new charts for node/lxc/qemu

 PVE/ExtJSIndex6.pm             |   4 ++
 www/ext6/Makefile              |   7 +-
 www/manager6/Utils.js          |   8 +--
 www/manager6/data/RRDStore.js  | 114 +++++++++++++++++++++++++++++
 www/manager6/lxc/Summary.js    | 105 ++++++++++++++-------------
 www/manager6/node/Summary.js   |  74 ++++++++++---------
 www/manager6/panel/RRDChart.js | 158 +++++++++++++++++++++++++++++++++++++++++
 www/manager6/qemu/Summary.js   | 101 ++++++++++++++------------
 8 files changed, 434 insertions(+), 137 deletions(-)
 create mode 100644 www/manager6/data/RRDStore.js
 create mode 100644 www/manager6/panel/RRDChart.js

-- 
2.1.4





More information about the pve-devel mailing list