API Reference@grafana/dataDataSourcePluginComponents

DataSourcePluginComponents interface

Signature

export interface DataSourcePluginComponents<DSType extends DataSourceApi<TQuery, TOptions>, TQuery extends DataQuery = DataQuery, TOptions extends DataSourceJsonData = DataSourceJsonData, TSecureOptions = {}> 

Import

import { DataSourcePluginComponents } from '@grafana/data';

Properties

PropertyTypeDescription
AnnotationsQueryCtrlany
ConfigEditorComponentType<DataSourcePluginOptionsEditorProps<TOptions, TSecureOptions>>
ExploreLogsQueryFieldComponentType<QueryEditorProps<DSType, TQuery, TOptions>>
ExploreMetricsQueryFieldComponentType<QueryEditorProps<DSType, TQuery, TOptions>>
ExploreQueryFieldComponentType<QueryEditorProps<DSType, TQuery, TOptions>>
MetadataInspectorComponentType<MetadataInspectorProps<DSType, TQuery, TOptions>>
QueryCtrlany
QueryEditorComponentType<QueryEditorProps<DSType, TQuery, TOptions>>
QueryEditorHelpComponentType<QueryEditorHelpProps<TQuery>>
VariableQueryEditorany

AnnotationsQueryCtrl property

Signature

AnnotationsQueryCtrl?: any;

ConfigEditor property

Signature

ConfigEditor?: ComponentType<DataSourcePluginOptionsEditorProps<TOptions, TSecureOptions>>;

ExploreLogsQueryField property

Signature

ExploreLogsQueryField?: ComponentType<QueryEditorProps<DSType, TQuery, TOptions>>;

ExploreMetricsQueryField property

Signature

ExploreMetricsQueryField?: ComponentType<QueryEditorProps<DSType, TQuery, TOptions>>;

ExploreQueryField property

Signature

ExploreQueryField?: ComponentType<QueryEditorProps<DSType, TQuery, TOptions>>;

MetadataInspector property

Signature

MetadataInspector?: ComponentType<MetadataInspectorProps<DSType, TQuery, TOptions>>;

QueryCtrl property

Signature

QueryCtrl?: any;

QueryEditor property

Signature

QueryEditor?: ComponentType<QueryEditorProps<DSType, TQuery, TOptions>>;

QueryEditorHelp property

Signature

QueryEditorHelp?: ComponentType<QueryEditorHelpProps<TQuery>>;

VariableQueryEditor property

Signature

VariableQueryEditor?: any;