mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update refId for instant queries (#27954)
This commit is contained in:
parent
2f5a60f561
commit
9546da3189
@ -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`,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user