API Reference@grafana/runtimeGetDataSourceListFilters

GetDataSourceListFilters interface

Signature

export interface GetDataSourceListFilters 

Import

import { GetDataSourceListFilters } from '@grafana/runtime';

Properties

Property Type Description
all boolean By default only data sources that can be queried will be returned. Meaning they have tracing, metrics, logs or annotations flag set in plugin.json file
annotations boolean Only return data sources that support annotations
dashboard boolean Set to true to return dashboard data source
metrics boolean Only return data sources that support metrics response
mixed boolean Include mixed deta source by setting this to true
pluginId string filter list by plugin
tracing boolean Only return data sources that support tracing response
variables boolean Set to true to return data source variables

all property

By default only data sources that can be queried will be returned. Meaning they have tracing, metrics, logs or annotations flag set in plugin.json file

Signature

all?: boolean;

annotations property

Only return data sources that support annotations

Signature

annotations?: boolean;

dashboard property

Set to true to return dashboard data source

Signature

dashboard?: boolean;

metrics property

Only return data sources that support metrics response

Signature

metrics?: boolean;

mixed property

Include mixed deta source by setting this to true

Signature

mixed?: boolean;

pluginId property

filter list by plugin

Signature

pluginId?: string;

tracing property

Only return data sources that support tracing response

Signature

tracing?: boolean;

variables property

Set to true to return data source variables

Signature

variables?: boolean;