Using custom formatting

Formatting numbers

Custom number format relies on numeral.js in order to provide you with the ability to easily customise your metrics formatting.

The following table should be read this way:

  • Number is an example number

  • Format is the format you should type in the custom format input on Whaly

  • Output show how your metric will display using the custom format

Numbers formats

Currency formats

Bytes formats

Percentages formats

Time formats

Exponential formats

Formatting durations

Custom duration format relies on moment duration format in order to provide you with the ability to easily customise your metrics formatting.

To format a duration you can use the following tokens :

Escape token characters within the template string using square brackets.

Examples

Last updated