Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove filterQuery to enable with grafana 11 #1

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading