The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/datasourceplugincomponents.md

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;