mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 03:22:29 +08:00
749 B
749 B
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "getBackendSrv" keywords = ["grafana","documentation","sdk","@grafana/runtime"] type = "docs" draft = true +++
getBackendSrv variable
getBackendSrv variable
Used to retrieve the BackendSrv that can be used to communicate via http(s) to a remote backend such as the Grafana backend, a datasource etc.
Signature
getBackendSrv: () => BackendSrv
Import
import { getBackendSrv } from '@grafana/runtime';