Skip to content

Commit

Permalink
Merge pull request #1 from leoswing/feature/grafana_11_exp
Browse files Browse the repository at this point in the history
feat: remove filterQuery to enable with grafana 11
  • Loading branch information
leoswing authored Jun 20, 2024
2 parents f27eda2 + f0bf600 commit fdc2927
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 2 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ services:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana}
grafana_version: ${GRAFANA_VERSION:-10.4.2}
# grafana_version: ${GRAFANA_VERSION:-10.4.2}
grafana_version: ${GRAFANA_VERSION:-11.0.0}
development: ${DEVELOPMENT:-false}
ports:
- 3000:3000/tcp
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions src/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ export class DataSource extends DataSourceApi<CompareQueriesQuery, CompareQuerie
return DEFAULT_QUERY;
}

filterQuery(query: CompareQueriesQuery): boolean {
// if no query has been provided, prevent the query from being executed
return !!query.target;
}

getValueFieldName(line: DataFrame) {
try {
const valueField = line.fields?.find((field: any) => field.type === FieldType.number);
Expand Down

0 comments on commit fdc2927

Please sign in to comment.