diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ae8cb4..933a04e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ### Changelog +next: + - remove time filter restriction + 2.0.3 2023-07-14 - make drag/drop more obvious - set correct field type for numeric columns diff --git a/src/datasource.ts b/src/datasource.ts index aac2d75..bcd6809 100644 --- a/src/datasource.ts +++ b/src/datasource.ts @@ -108,10 +108,6 @@ export class DataSource extends DataSourceApi { let col = this._buildColumns(target.columns); - if (this.isLogs(target.table) && !target.condition.match(/\$time/)) { - throw new Error('logs query must contain time filter, ex.: time = $time'); - } - let path = target.table; path = path.replace(/^\//, ''); path = this.replaceVariables(path, options.range, options.scopedVars); @@ -501,11 +497,4 @@ export class DataSource extends DataSourceApi