src/platform/packages/shared/kbn-apm-ui-shared/README.mdx
| Name | Description |
|---|---|
| Duration | Displays the duration with automatic unit formatting and the option to show the percentage of the duration relative to a parent (trace or transaction). |
| Duration distribution chart | Generates a chart visualization from the specified DurationDistributionChartData input. |
| Http status code | Renders a badge with the HTTP status code, its description, and a color indicating its category. |
| Span icon | Displays an icon based on the span type and subtype. |
| Timestamp | Displays the absolute date and time with timezone, and shows the relative date either as a tooltip or inline. |
| Name | Description |
|---|---|
| asDuration | Format duration value to the best unit for display. |
| asDecimal | Format a number to a decimal with a fixed number of decimal places. |
| asInteger | Format a number to an integer. |
| asDecimalOrInteger | Format a number to a decimal with a fixed number of decimal places if it has a decimal part, otherwise format it to an integer. |
| asPercent | Format a number to a percentage with a fixed number of decimal places. |