Skip to content

Remove artificial columns 'min' and 'max' from the per-worker data#6469

Open
Karakatiza666 wants to merge 1 commit into
mainfrom
issue6467
Open

Remove artificial columns 'min' and 'max' from the per-worker data#6469
Karakatiza666 wants to merge 1 commit into
mainfrom
issue6467

Conversation

@Karakatiza666

Copy link
Copy Markdown
Contributor

Fix #6467

The issue was the profiler-lib was unconditionally augmenting the per-worker metrics with a min and max value for the statistic. This was originally done as a way to provide an overview of the metrics - and aggregation for the purposes of overview is now coordinated in the consumer of profiler-lib (profiler-layout).

The artificial min and max column are not an intrinsic part of reporting the per-worker metrics, so I decided to remove computing these columns in the first place, rather than e.g. just filtering them out or making them optional.

Testing: manual

…ker data

Signed-off-by: Karakatiza666 <bulakh.96@gmail.com>
@Karakatiza666 Karakatiza666 requested a review from mihaibudiu June 14, 2026 10:01

@mythical-fred mythical-fred left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE.

Clean fix. Removing the synthetic Min/Max columns at the source is the right call — profiler-layout already computes overview aggregates in its own metrics views (the per-column MetricsDistributionBlock has its own Avg/Min/Max headers), so this was duplicated state at the wrong layer.

The downstream HierarchicalTable.createDisplay just iterates columnNames to build header cells; nothing special-cases the last two slots, so the consumer side stays clean. The MeasurementMatrix invariant (columnNames.length == measurements.length) keeps holding.

Import cleanup correctly drops the now-unused MissingValue symbol. Description ties the change to the upstream cleanup of aggregation moving into profiler-layout, which matches what the code shows.

@Karakatiza666 Karakatiza666 added this pull request to the merge queue Jun 15, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[profiler] Profiler metrics duplicate worker columns

3 participants