mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Rename live option in queries (#19658)
This commit is contained in:
@@ -216,7 +216,7 @@ export class LokiDatasource extends DataSourceApi<LokiQuery, LokiOptions> {
|
||||
const subQueries = options.targets
|
||||
.filter(target => target.expr && !target.hide)
|
||||
.map(target => {
|
||||
if (target.live) {
|
||||
if (target.liveStreaming) {
|
||||
return this.runLiveQuery(options, target);
|
||||
}
|
||||
return this.runQuery(options, target);
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Labels } from '@grafana/data';
|
||||
|
||||
export interface LokiQuery extends DataQuery {
|
||||
expr: string;
|
||||
live?: boolean;
|
||||
liveStreaming?: boolean;
|
||||
query?: string;
|
||||
regexp?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user