+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "DataSourceSrv" keywords = ["grafana","documentation","sdk","@grafana/runtime"] type = "docs" draft = true +++ ## DataSourceSrv interface Signature ```typescript export interface DataSourceSrv ``` Import ```typescript import { DataSourceSrv } from '@grafana/runtime'; ``` Methods | Method | Description | | --- | --- | | [get(name, scopedVars)](#get-method) | | ### get method Signature ```typescript get(name?: string, scopedVars?: ScopedVars): Promise; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | name | string | | | scopedVars | ScopedVars | | Returns: `Promise`