Update refId for instant queries (#27954)
(cherry picked from commit 9546da3189)
This commit is contained in:
committed by
Sofia Papagiannaki
parent
6c4d5466e6
commit
ef98b310f1
@@ -137,7 +137,15 @@ export class LokiDatasource extends DataSourceApi<LokiQuery, LokiOptions> {
|
||||
}
|
||||
|
||||
return {
|
||||
data: [lokiResultsToTableModel(response.data.data.result, responseListLength, target.refId, meta, true)],
|
||||
data: [
|
||||
lokiResultsToTableModel(
|
||||
response.data.data.result,
|
||||
responseListLength,
|
||||
`${target.refId}_instant`,
|
||||
meta,
|
||||
true
|
||||
),
|
||||
],
|
||||
key: `${target.refId}_instant`,
|
||||
};
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user