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: basic support for annotations #11

Merged
merged 1 commit into from
Jan 9, 2025
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
2 changes: 2 additions & 0 deletions src/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { DataSourceWithBackend, getTemplateSrv } from '@grafana/runtime';
import { TpDataSourceOptions, TpQuery, TpVariableQuery } from './types';

export class DataSource extends DataSourceWithBackend<TpQuery, TpDataSourceOptions> {
annotations = {};

constructor(instanceSettings: DataSourceInstanceSettings<TpDataSourceOptions>) {
super(instanceSettings);
}
Expand Down
1 change: 1 addition & 0 deletions src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"backend": true,
"streaming": true,
"alerting": true,
"annotations": true,
"executable": "gpx_timeplus",
"info": {
"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.",
Expand Down
Loading