Skip to Main Content
Preset Feature Feedback
Status Needs review
Categories New feature
Created by Customer Engagement
Created on Nov 4, 2025

Introduce Built-in Helper for Byte Formatting in Handlebars Charts

What is the problem or goal the end user is trying to solve or accomplish?

Users need to display memory or data sizes in human-readable formats (e.g., 258157 → 252.11 KB, 1342177280 → 1.25 GB) when visualizing metrics related to storage, performance, or network usage.

How are they solving it currently?

They must pre-calculate formatted strings in SQL or dbt using CASE logic or division, which adds unnecessary complexity and limits flexibility for dynamic formatting in the chart layer.

What is the recommended solution by the Customer?

Add a native helper such as:

{{formatBytes bytes precision=2}}

The helper should automatically scale bytes to KB, MB, GB, etc., with configurable decimal precision and unit suffixes.

  • Attach files
  • +1