Skip to content

Commit e3a4240

Browse files
committed
Fix plugin not showing up in data source list
1 parent 4e1169a commit e3a4240

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/QueryEditor.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react';
22
import { QueryEditorProps } from '@grafana/data';
33
import { DataSource } from './datasource';
44
import { TrinoDataSourceOptions, TrinoQuery, defaultQuery, SelectableFormatOptions } from './types';
5-
import { InlineSegmentGroup } from '@grafana/ui';
65
import { FormatSelect, QueryCodeEditor } from '@grafana/aws-sdk';
76

87
type Props = QueryEditorProps<DataSource, TrinoQuery, TrinoDataSourceOptions>;
@@ -15,7 +14,6 @@ export function QueryEditor(props: Props) {
1514

1615
return (
1716
<>
18-
<InlineSegmentGroup>
1917
<div className="gf-form-group">
2018
<h6>Frames</h6>
2119
<FormatSelect
@@ -34,7 +32,6 @@ export function QueryEditor(props: Props) {
3432
getSuggestions={() => []}
3533
/>
3634
</div>
37-
</InlineSegmentGroup>
3835
</>
3936
);
4037
}

src/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"category": "sql",
77
"alerting": false,
88
"annotations": false,
9-
"metrics": false,
9+
"metrics": true,
1010
"logs": false,
1111
"backend": true,
1212
"executable": "gpx_Trino",
@@ -46,7 +46,7 @@
4646
"updated": "%TODAY%"
4747
},
4848
"dependencies": {
49-
"grafanaDependency": ">=7.0.0",
49+
"grafanaDependency": ">=8.2.0",
5050
"plugins": []
5151
}
5252
}

0 commit comments

Comments
 (0)