We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b0c66f commit 0145121Copy full SHA for 0145121
x-pack/plugins/searchprofiler/public/application/components/profile_tree/init_data.ts
@@ -24,6 +24,9 @@ export function mutateAggsTimesTree(shard: Shard) {
24
}
25
for (const agg of shard.aggregations!) {
26
initTree([agg], shardTime);
27
+ // To make this data structure consistent with that of search we
28
+ // mark each aggregation as it's own tree root.
29
+ agg.treeRoot = agg;
30
31
shard.time = shardTime;
32
0 commit comments