Description
Currently, the default formatting for span.duration.us
and transaction.duration.us
fields is just basic numeric formatting, and also in the APM static data view, only the transaction duration field gets formatted to milliseconds.
These fields should be getting formatted as durations by default instead of as numeric values, as this would improve the experience of seeing the different durations be attached to a meaningful unit of time (ns, ms, etc).
Description | |
---|---|
AC1 | When displaying a span.duration.us field, it should get formatted with the appropriate unit depending on how long it took (1000 microseconds duration could be rendered as 1ms) |
AC2 | When displaying a transaction.duration.us field, it should get formatted with the appropriate unit depending on how long it took (1000 microseconds duration could be rendered as 1ms) |
AC3 | The formatting should apply regardless of the data view (if it isn't applying a formatting to override the default) or ES|QL view, and should apply on both the doc viewer table and the discover table |