The group graph in JON ignores the units of the metrics (if they are different) and presents all metrics as they are the same unit
Environment
- Red Hat JBoss Operations Network (JON) 3.3.2
- Viewing graph for the resource group;
- Data range includes metric values from two or more unit scales -- For example: 800 Bytes and 100 TB
Issue
- When looking at grouped graphs in JON 3.3.2 they will at times report massive values like GB instead of MB.
- The group graph in JON is incorrectly drawn;
- The group graph in JON shows higher value metrics although they are in Bytes while the others are in TB;
- The group graph in JON ignores the units of the metrics (if they are different) and presents all metrics as they are the same unit
Resolution
This issue has been reported in This content is not included.Red Hat Bugzilla 1224091 and it will be fixed in a future releases of JBoss ON.
Root Cause
The group graph unit will correspond to the unit of the metric that is last to be drawn on the graph. But the values of the metrics are still being plotted using the smaller values unit of the first metric that is to be drawn on the graph.
For example if monitoring Used Swap Space for platform 1 and platform 2 and the value of this metric for platform 1 is 800 Bytes and for platform 2 is 100 TB.
The group graph will ignore units and will plot both metrics as they are the same unit. For instance, metric from platform 2 will have value 100 and metric from platform 1 will have value 800. The last metric to be plotted on the graph will determine the unit of the graph. For instance, if first metric to be plotted on the group graph is platform 2 with 100 TB and second one is platform 1 with 800 Bytes, the unit of the group graph will show B (Bytes) and values on the Y axis of the group graph will be 100, 200, 300, ..., 800,..
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.