https://flyte.org logo
#ask-the-community
Title
# ask-the-community
t

Tim Bauer

09/13/2023, 1:32 PM
Random question: What does the Y axis in this UI element actually represent? It seems to relate to execution time but nowhere near the true scale.
k

Ketan (kumare3)

09/13/2023, 1:38 PM
It is execution time weighted relatively
Is that not what you see
t

Tim Bauer

09/13/2023, 1:40 PM
Yes intuitively I see that but there are multiple orders of magnitude between those bars in our case.
Just wanted to understand how its actually weighted / if its some log scale
k

Ketan (kumare3)

09/13/2023, 1:41 PM
Cc @Jason Porter / @Frank Flitton can you share
@Tim Bauer interesting, what you expect is for it to look spiky - my goal is to find which one was way off
t

Tim Bauer

09/13/2023, 1:43 PM
that second-most recent run took about 30 times as much wall clock time as any of the others on that graph that was what got us wondering 😄 But not a pressing issue more curiosity.
k

Ketan (kumare3)

09/13/2023, 1:46 PM
Hmm I would expect it to be one spike then - thank you for reporting
f

Frank Flitton

09/13/2023, 3:40 PM
That was done intentionally, you can click the bar chart items to filter the table below. To avoid items too small to click the value for the chart uses Math.log2 to normalize the values, the chart then scales to the max of these normalized values. Flyte console -> https://github.com/flyteorg/flyteconsole/blob/master/packages/console/src/components/common/BarChart.tsx#L135 Math.log2 -> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log2 Happy to adjust the scaling mechanism for accuracy's sake so long as its still clickable/filterable, eg. 20s vs 1 day in the same list. Maybe a min height and a percent scale between the two?