Aliasing & Borrowing Data

graph_order is used to set the relative order to fields in a graph.

It has also a lesser known feature that is : field aliasing. Its behavior is very simple : you just take everything from the borrowed field to the local one. This makes it quite easy to create aggregation of fields. The main issue is that it copies everything, including its visual aspect.

Sometime you only want to copy the value & type (GAUGE, DERIVE, ...) of the field.

Last modified at 2011-07-14T16:19:39+02:00 Last modified on 2011-07-14T16:19:39+02:00