Commit 9546da31 by Ivana Huckova Committed by GitHub

Update refId for instant queries (#27954)

parent 2f5a60f5
...@@ -137,7 +137,15 @@ export class LokiDatasource extends DataSourceApi<LokiQuery, LokiOptions> { ...@@ -137,7 +137,15 @@ export class LokiDatasource extends DataSourceApi<LokiQuery, LokiOptions> {
} }
return { 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`, key: `${target.refId}_instant`,
}; };
}), }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment