getTemplateSrv variable
getTemplateSrv variable
Used to retrieve the TemplateSrv that can be used to fetch available template variables.
Signature
getTemplateSrv: () => TemplateSrv
Import
import { getTemplateSrv } from '@grafana/runtime';
Used to retrieve the TemplateSrv that can be used to fetch available template variables.
Signature
getTemplateSrv: () => TemplateSrv
Import
import { getTemplateSrv } from '@grafana/runtime';
本文档使用 全库网 构建