3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/docs/sources/packages_api/data/datasourceplugincomponents.md
Marcus Andersson cc3fc18076
Docs: enable packages reference docs for 7-beta ()
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

3.4 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "DataSourcePluginComponents" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++

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;