Console Human Friendly MetricsConsole

Human-friendly metrics

Data reference paths are now masked on statistics display

Applications can write custom metrics to the run output file using the standard Statistics convention. These custom metrics live under the top-level statistics property of the run output and are extracted and displayed in the run details view in Nextmv Console.

These metrics were displayed in a technical manner using their full data path as the name of the metric. For example, if a custom metric tracking total waste was named total_waste and was a property of the custom object which in turn was a property of the result object, the name of this metric would be displayed as result.custom.total_waste.

These object data paths were obscuring the meaningful parts of the metric names, and the end user often only cares about the metric and its value, not where it’s stored in the output JSON file. For these reasons, the metrics are now displayed without the data paths and also are presented with a more human-friendly title casing.

Before

Table view of data showing the old way of rendering property names with their full object dot notation paths that reference their location in the JSON block. The example from the note above reads result.custom.total_waste.

After

Same table view as the image above, but now the property names have had the JSON location paths removed. The example from the note above now reads just Total Waste.

Page last updated

Go to on-page nav menu