mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-01 18:23:39 +00:00
fix: statistics span data (#395)
This commit is contained in:
parent
9001a96128
commit
88dbee311c
@ -54,11 +54,11 @@ limitations under the License. -->
|
|||||||
const result: StatisticsSpan[] = [];
|
const result: StatisticsSpan[] = [];
|
||||||
const map = traceTable.changeStatisticsTree(data);
|
const map = traceTable.changeStatisticsTree(data);
|
||||||
map.forEach((nodes, nodeKey) => {
|
map.forEach((nodes, nodeKey) => {
|
||||||
const nodeKeyData = nodeKey.split(":");
|
const lastColonIndex = nodeKey.lastIndexOf(":");
|
||||||
result.push(
|
result.push(
|
||||||
getSpanGroupData(nodes, {
|
getSpanGroupData(nodes, {
|
||||||
endpointName: nodeKeyData[0],
|
endpointName: nodeKey.slice(0, lastColonIndex),
|
||||||
type: nodeKeyData[1],
|
type: nodeKey.slice(lastColonIndex + 1),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user