mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Loki: support template variables when running stream (live) mode (#52973)
This commit is contained in:
@@ -152,7 +152,15 @@ export class LokiDatasource
|
||||
...fixedRequest,
|
||||
targets: streamQueries,
|
||||
};
|
||||
return merge(...streamQueries.map((q) => doLokiChannelStream(q, this, streamRequest)));
|
||||
return merge(
|
||||
...streamQueries.map((q) =>
|
||||
doLokiChannelStream(
|
||||
this.applyTemplateVariables(q, request.scopedVars),
|
||||
this, // the datasource
|
||||
streamRequest
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if (fixedRequest.liveStreaming) {
|
||||
|
||||
Reference in New Issue
Block a user