DataSourceConstructor interface
Signature
export interface DataSourceConstructor<DSType extends DataSourceApi<TQuery, TOptions>, TQuery extends DataQuery = DataQuery, TOptions extends DataSourceJsonData = DataSourceJsonData>
Import
import { DataSourceConstructor } from '@grafana/data';
Methods
Method | Description |
---|---|
new(instanceSettings, args) |
new(instanceSettings, args)
Signature
new (instanceSettings: DataSourceInstanceSettings<TOptions>, ...args: any[]): DSType;
Parameters
Parameter | Type | Description |
---|---|---|
instanceSettings | DataSourceInstanceSettings<TOptions> | |
args | any[] |
Returns:
DSType