If I submit a custom metric value, it could be a time in minutes, a percentage, a rate, a cost, data size, or anything. It would be great to be able to pass an optional unit of measure. For example:
I can do this now in C#:
StackifyLib.Metrics.SetGauge("SQL Server", "Time since last backup", timeInMinutes);
I would like to do this:
StackifyLib.Metrics.SetGauge("SQL Server", "Time since last backup", timeInMinutes, "min");
I would then like to see "min" appear after the value in Stackify.
Other cases where this would be useful might be for percentages and for units such as "KB/min", "GB", "files/min".
The unit of measure could also provide an axis label on a graph.
Attachments Open full size