Skip to content

Commit

Permalink
Merge pull request #19 from mullerpeter/feature/annotations
Browse files Browse the repository at this point in the history
✨ feat: add annotations support
  • Loading branch information
mullerpeter authored Mar 24, 2023
2 parents 62d5346 + 01e680c commit 0214147
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Changelog

## 1.1.3
## 1.1.4

- Add annotations support

---

### 1.1.3

- Add variable query support
- Bugfix: Remove leading slash from SQL path in configuration

---

## 1.1.2
### 1.1.2

- Use scoped Variables in template variable replacement

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mullerpeter-databricks-datasource",
"private": true,
"version": "1.1.3",
"version": "1.1.4",
"description": "Databricks SQL Connector",
"scripts": {
"build": "grafana-toolkit plugin:build",
Expand Down
1 change: 1 addition & 0 deletions src/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {firstValueFrom} from 'rxjs';
export class DataSource extends DataSourceWithBackend<MyQuery, MyDataSourceOptions> {
constructor(instanceSettings: DataSourceInstanceSettings<MyDataSourceOptions>) {
super(instanceSettings);
this.annotations = {}
}

applyTemplateVariables(query: MyQuery, scopedVars: ScopedVars) {
Expand Down
4 changes: 2 additions & 2 deletions src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"type": "datasource",
"name": "Databricks",
"id": "mullerpeter-databricks-datasource",
"metrics": false,
"metrics": true,
"backend": true,
"category": "sql",
"alerting": true,
"annotations": false,
"annotations": true,
"executable": "gpx_databricks",
"info": {
"description": "Databricks SQL Connector",
Expand Down

0 comments on commit 0214147

Please sign in to comment.