Skip to content

Commit

Permalink
Adapt grafana 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
chaolee50 committed Apr 23, 2023
1 parent f8e1105 commit 96a3abe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/module.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
}
],
"screenshots": [],
"version": "2.27",
"updated": "2023-03-13"
"version": "2.28",
"updated": "2023-04-23"
},
"dependencies": {
"grafanaDependency": ">=7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aliyun-log-service-datasource",
"version": "2.27",
"version": "2.28",
"description": "Aliyun log service datasource (backend version)",
"scripts": {
"build": "grafana-toolkit plugin:build && mage",
Expand Down
2 changes: 1 addition & 1 deletion src/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class SLSDataSource extends DataSourceWithBackend<SLSQuery, SLSDataSource
to: options.range.to.valueOf().toString(),
queries: [
{
datasource: this.name,
datasource: {type: this.type, uid: this.uid},
datasourceId: this.id,
query: replaceQueryParameters(query, options),
},
Expand Down

0 comments on commit 96a3abe

Please sign in to comment.