Skip to main content

Bucket

Bucket transformation is a quick way to draw a histogram of the given column. It has to be a numeric value based column, integral or floating values.

How it works

Columns fetch the value range of the given column with [min, max] pair. Users can divide the range into any arbitrary sections where each section is a new value range. Then we can aggregate metrics for values that fall into each section. This is usually presented as a vertical bar chart.

Example

It is only two steps to create a new bucket column

  1. click Create a bucketed column
  2. In the panel, choose original column to bucketize, and set multiple value ranges, and click "confirm".

Now this new column will be added to dimension list to aggregate metrics by. Create a bucketed column

Now, this new column appears in dimension list, and we can aggregate metrics by it to get histograms Query by bucket column