Skip to content

Commit 6d25cad

Browse files
authored
feat: basic support for annotations (#11)
1 parent 22143e5 commit 6d25cad

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/datasource.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { DataSourceWithBackend, getTemplateSrv } from '@grafana/runtime';
33
import { TpDataSourceOptions, TpQuery, TpVariableQuery } from './types';
44

55
export class DataSource extends DataSourceWithBackend<TpQuery, TpDataSourceOptions> {
6+
annotations = {};
7+
68
constructor(instanceSettings: DataSourceInstanceSettings<TpDataSourceOptions>) {
79
super(instanceSettings);
810
}

src/plugin.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"backend": true,
88
"streaming": true,
99
"alerting": true,
10+
"annotations": true,
1011
"executable": "gpx_timeplus",
1112
"info": {
1213
"description": "Timeplus is a unified streaming and historical data processing engine in a single binary. It helps data engineers and platform engineers solve complex real-time analytics use cases, and powers the Timeplus streaming analytics platform. The core engine is open-sourced at https://github.com/timeplus-io/proton. Timeplus Enterprise, https://www.timeplus.com/product, reduces time, complexity, and cost by using SQL to build real-time applications, data pipelines, and dashboards at the edge or cloud.",

0 commit comments

Comments
 (0)