mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Tempo: Put trace results data frame first when streaming (#93739)
* Put trace results dataframe first * Add comment
This commit is contained in:
parent
42eb033b03
commit
a268a56acb
@ -84,9 +84,12 @@ export function doTempoChannelStream(
|
||||
throw new Error(error);
|
||||
}
|
||||
|
||||
// The order of the frames is important. The metrics frame should always be the last frame.
|
||||
// This is because the metrics frame is used to display the progress of the streaming query
|
||||
// and we would like to display the results first.
|
||||
frames = [
|
||||
metricsDataFrame(metrics, frameState, elapsedTime),
|
||||
...formatTraceQLResponse(traces, instanceSettings, query.tableType),
|
||||
metricsDataFrame(metrics, frameState, elapsedTime),
|
||||
];
|
||||
}
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user