* Adds timestamp ID's based on the transform applied so that series can
easily map to their own timestamps
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Previously, REXML was loaded from the systempath via the rubygem-rexml RPM/DEB package. With tproxy introducing a dependency on opennebula-rubygems for KVM/LXC node packages, this change updates driver actions to use REXML provided by the OpenNebula path.
L #-: Follow new linter rule
* M OpenNebula/one#7000: Manual graph scaling + missing props
* Removes the extra forecastFar X axis scaling
- Not needed as this is drawn as a trendline anyways
* Adds missing pairTransforms
* Manual X/Y scale calculations with a bit of overscaling
- 5% overscaling for Y
- 1% overscaling for X
- This makes it a bit easier to zoom in on the start/end of the graph
+ makes sure we display all peeks
* Removes legend series on/off click handler
* Changes X series scale to 1 as to only display the actual data and not
account for the forecast offset
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
Solves issues, when wrong SQL query blocks all nodes in HA zone.
There is no notification to the user the API command returns success. It only error reports in oned.log - to report failure in API we would need to check error code for all pool->update(...)
* X-axis is always sorted in ascending order now.
* Zooming is now by default only applied to the X-axis.
* Massive cleanup of data processing code.
- Removed previous "continuous" data transform. All data is now
overlayed as separate series with the ability to pair series together
& apply transforms between them.
* Forecast clamping removed & replaced with `serieScale`.
- This value controls how far the X axis should render compared to the
length of the base timestamps array.
* Removed data clustering
* Chartist will now dynamically only render series that contain any
data. This also applies to the legends shown.
* DRS Tab configuration now displays values as percentages
* Fixed resizeObserver bug where old callbacks were being used
* Fixed X-axis graph scaling race condition
* Old labels format is now converted internally to the new format
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
NOTE: When selecting a device class, vendor/device should be
defined/wildcard to prevent ambiguity (e.g. "*:*:0c03" and not "*:0c03")
Update dummy probes with different vendor names
This commit recovers adding ALLOW_ORPHANS and PERSISTENT_SNAPSHOTS as
image/system datastore attributes. This solves the regression introduced
by original 6911 merge.
* Add resource type to all tables
* Update all cards to display new labels
* Add edit permissions check on labels
* Add table filter support
* Add default labels support
Signed-off-by: Victor Hansson <vhansson@opennebula.io>