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

Property Type Description
AnnotationsQueryCtrl any
ConfigEditor ComponentType<DataSourcePluginOptionsEditorProps<TOptions, TSecureOptions>>
ExploreLogsQueryField ComponentType<ExploreQueryFieldProps<DSType, TQuery, TOptions>>
ExploreMetricsQueryField ComponentType<ExploreQueryFieldProps<DSType, TQuery, TOptions>>
ExploreQueryField ComponentType<ExploreQueryFieldProps<DSType, TQuery, TOptions>>
ExploreStartPage ComponentType<ExploreStartPageProps>
MetadataInspector ComponentType<MetadataInspectorProps<DSType, TQuery, TOptions>>
QueryCtrl any
QueryEditor ComponentType<QueryEditorProps<DSType, TQuery, TOptions>>
VariableQueryEditor any

AnnotationsQueryCtrl property

Signature

AnnotationsQueryCtrl?: any;

ConfigEditor property

Signature

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

ExploreLogsQueryField property

Signature

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

ExploreMetricsQueryField property

Signature

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

ExploreQueryField property

Signature

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

ExploreStartPage property

Signature

ExploreStartPage?: ComponentType<ExploreStartPageProps>;

MetadataInspector property

Signature

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

QueryCtrl property

Signature

QueryCtrl?: any;

QueryEditor property

Signature

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

VariableQueryEditor property

Signature

VariableQueryEditor?: any;